KyleAMathews/react-spinkit

ERROR in ./~/react-spinkit/css/wave.css

Closed this issue · 1 comments

after I installed the package, I use webpack to build, but I got below error. Any ideas? Thanks !

ERROR in ./~/react-spinkit/css/wave.css
Module parse failed: /Users/jimmy/Projects/hopewell_www/trunk/hopewell_www/node_modules/react-spinkit/css/wave.css Line 1: Unexpected token .
You may need an appropriate loader to handle this file type.
| .wave {
|   width: 50px;
|   height: 27px;
 @ ./~/react-spinkit/dist/index.js 69:8-34

For Webpack to load css, you need to add the css and style loaders https://github.com/webpack/css-loader