When including css with my webpack build, i get the following error:
ERROR in ./~/bootstrap/dist/css/bootstrap.css
Module parse failed: /Users/myuser/Projects/project/node_modules/bootstrap/dist/css/bootstrap.css Unexpected token (8:5)
You may need an appropriate loader to handle this file type.
| */
| /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
| html {
| font-family: sans-serif;
| line-height: 1.15;
@ ./assets/js/index.js 33:4-47
@ multi webpack-dev-server/client?http://0.0.0.0:3000 webpack/hot/only-dev-server ./assets/js/index
The offending line in my index.js is:
import 'bootstrap/dist/css/bootstrap.css'
My webpack.config.js looks like this: https://gist.github.com/colde/a0db7ca1a2d0a4596bc10241a6c55740
loader:'style!css!'