Top "Webpack-cli" questions

Webpack CLI is a CLI tool for providing a flexible set of commands for custom webpack projects.

TypeError: compiler.plugin is not a function at ReactLoadablePlugin.apply

I want to implement SSR in ReactJs using React Loadable by Webpack. Below are a few lines from the package.…

reactjs webpack webpack-4 webpack-cli
npm run dev fails : ValidationError: Invalid options object

Currently learning Vue js and express js through some tutorials, I am still newbie regarding these technologies. Anyway following the …

node.js vue.js npm webpack-dev-server webpack-cli
Webpack Dev Server Config - contentBase not working in latest version

When I upgrade webpack to 4.0.0-beta.3 and run npx webpack serve I get this error: [webpack-cli] Invalid configuration object. Object …

webpack webpack-dev-server webpack-cli
Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead

I am getting this error Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead. new webpack.…

javascript reactjs webpack commonschunkplugin webpack-cli
Getting Error from webpack-cli: "TypeError: merge is not a function" in webpack config

I'm using webpack-merge to combine two webpack.config files together but I keep getting the error "TypeError: merge is not …

reactjs webpack webpack-4 webpack-cli webpack-merge