Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

webpack doesn't work #57

Open
odelreym opened this issue Jul 5, 2018 · 2 comments
Open

webpack doesn't work #57

odelreym opened this issue Jul 5, 2018 · 2 comments

Comments

@odelreym
Copy link

odelreym commented Jul 5, 2018

Hi booleanhunter

I have a problem trying to compile with webpack the stuff

				throw err;
				^

Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.
    at Object.get [as CommonsChunkPlugin] (/ReactJS-AdminLTE/node_modules/webpack/lib/webpack.js:165:10)
    at Object.<anonymous> (/ReactJS-AdminLTE/webpack.config.js:48:30)
    at Module._compile (/usr/local/lib/node_modules/webpack-cli/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)


Do you know how to resolve it?

Thanks in advance

Nacho.
@saraffadarsha
Copy link

saraffadarsha commented Aug 3, 2018

@odelreym
I have converted basic components ES6 version and works with react-scripts and create-react-app
https://github.com/saraffadarsha/ReactJS-AdminLTE

@booleanhunter
Copy link
Owner

@saraffadarsha Great work @saraffadarsha, do feel free to send a P.R whenever you feel like. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants