{"action":"created","issue":{"url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/51","repository_url":"https://api.github.com/repos/KyleAMathews/react-spinkit","labels_url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/51/comments","events_url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/51/events","html_url":"https://github.com/KyleAMathews/react-spinkit/issues/51","id":208381044,"number":51,"title":"Invalid or unexpected token @-webkit-keyframes sk-fade-in","user":{"login":"1312624","id":16288424,"avatar_url":"https://avatars3.githubusercontent.com/u/16288424?v=3","gravatar_id":"","url":"https://api.github.com/users/1312624","html_url":"https://github.com/1312624","followers_url":"https://api.github.com/users/1312624/followers","following_url":"https://api.github.com/users/1312624/following{/other_user}","gists_url":"https://api.github.com/users/1312624/gists{/gist_id}","starred_url":"https://api.github.com/users/1312624/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1312624/subscriptions","organizations_url":"https://api.github.com/users/1312624/orgs","repos_url":"https://api.github.com/users/1312624/repos","events_url":"https://api.github.com/users/1312624/events{/privacy}","received_events_url":"https://api.github.com/users/1312624/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-17T09:17:07Z","updated_at":"2017-03-16T17:26:06Z","closed_at":null,"body":"I have this error when trying to use:\r\n\r\n```\r\n(function (exports, require, module, __filename, __dirname) { @-webkit-keyframes sk-fade-in {\r\n                                                              ^\r\nSyntaxError: Invalid or unexpected token\r\n    at Object.exports.runInThisContext (vm.js:76:16)\r\n    at Module._compile (module.js:542:28)\r\n    at Module._extensions..js (module.js:579:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/media/hmtri/Soft  - Entertainment/Storage/Dropbox/Dropb\r\nox/Study/Grade4/LTHD/PDFFiller/node_modules/babel-register/lib/node.js:152:7)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/media/hmtri/Soft  - Entertainment/Storage/Dropbox/Dropbox/Study/Grade4/LTHD/PDFFiller/node_m\r\nodules/react-spinkit/dist/index.js:19:1)\r\n    at Module._compile (module.js:570:32)\r\n    at Module._extensions..js (module.js:579:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/media/hmtri/Soft  - Entertainment/Storage/Dropbox/Dropb\r\nox/Study/Grade4/LTHD/PDFFiller/node_modules/babel-register/lib/node.js:152:7)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n```\r\n\r\nThis is my webpack config:\r\n\r\n```\r\nconst webpack = require('webpack');\r\nconst path = require('path');\r\n\r\nmodule.exports = {\r\n    context: path.resolve(__dirname, 'src'),\r\n\r\n    entry: {\r\n        app: './app-client.js'\r\n    },\r\n\r\n    output: {\r\n        path: path.join(__dirname, 'src', 'public', 'assets', 'js'),\r\n        filename: 'bundle.js'\r\n    },\r\n    module: {\r\n        rules: [\r\n            {\r\n                test: path.join(__dirname, 'src'),\r\n                use: [\r\n                    {\r\n                        loader: 'babel-loader',\r\n                        options: {\r\n                            cacheDirectory: 'babel_cache',\r\n                            presets: ['react', 'es2015', 'stage-0']\r\n                        }\r\n                    }\r\n                ],\r\n            },\r\n            {\r\n                test: /\\.css$/,\r\n                use: [\r\n                    {\r\n                        loader : 'style-loader'\r\n                    },\r\n                    {\r\n                        loader : 'css-loader',\r\n                        options : {\r\n                            modules : true\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        ]\r\n    },\r\n\r\n    plugins: [\r\n        new webpack.DefinePlugin({\r\n            'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)\r\n        }),\r\n        new webpack.optimize.UglifyJsPlugin({\r\n            compress: { warnings: true },\r\n            mangle: true,\r\n            sourceMap: true,\r\n            beautify: false,\r\n            dead_code: true\r\n        })\r\n    ]\r\n};\r\n```\r\n\r\nI'm using `\"webpack\": \"^2.2.1\",  \"css-loader\": \"^0.26.1\", \"style-loader\": \"^0.13.1\"`"},"comment":{"url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/comments/287131302","html_url":"https://github.com/KyleAMathews/react-spinkit/issues/51#issuecomment-287131302","issue_url":"https://api.github.com/repos/KyleAMathews/react-spinkit/issues/51","id":287131302,"user":{"login":"kuongknight","id":5582129,"avatar_url":"https://avatars1.githubusercontent.com/u/5582129?v=3","gravatar_id":"","url":"https://api.github.com/users/kuongknight","html_url":"https://github.com/kuongknight","followers_url":"https://api.github.com/users/kuongknight/followers","following_url":"https://api.github.com/users/kuongknight/following{/other_user}","gists_url":"https://api.github.com/users/kuongknight/gists{/gist_id}","starred_url":"https://api.github.com/users/kuongknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuongknight/subscriptions","organizations_url":"https://api.github.com/users/kuongknight/orgs","repos_url":"https://api.github.com/users/kuongknight/repos","events_url":"https://api.github.com/users/kuongknight/events{/privacy}","received_events_url":"https://api.github.com/users/kuongknight/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T17:26:06Z","updated_at":"2017-03-16T17:26:06Z","body":"I fount same error :)"}}
{"actor":{"display_login":"kuongknight"}}