AndreyAttr / Evo

Evo repo
MIT License
0 stars 1 forks source link

Double bootstrap extraction #33

Open AndreyAttr opened 7 years ago

AndreyAttr commented 7 years ago

Double bootstrap.config.js launch during starting webpack dev server 2017-06-04_2004

AndreyAttr commented 7 years ago

I think it appeared after using some workaround(to provide custom style-loader for bootstrap, because approach described in official documentation for custom style-loader caused errors).

    //Fixme: Doesn't work: https://www.npmjs.com/package/bootstrap-webpack#extract-text-webpack-plugin
    //Done: Fixed with workaround
    styleLoader: styleLoader,

Official approach: https://github.com/gowravshekar/bootstrap-webpack#extract-text-webpack-plugin and the same https://www.npmjs.com/package/bootstrap-webpack#extract-text-webpack-plugin