ReactJS-AdminLTE icon indicating copy to clipboard operation
ReactJS-AdminLTE copied to clipboard

webpack doesn't work

Open odelreym opened this issue 7 years ago • 2 comments

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.

odelreym avatar Jul 05 '18 15:07 odelreym

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

saraffadarsha avatar Aug 03 '18 19:08 saraffadarsha

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

booleanhunter avatar Aug 04 '18 06:08 booleanhunter