- To compile all scripts, enter the following command in your terminal:
npx webpack
- To watch more detailed output, add options to the original command:
npx webpack --stats detailed
-
Add custom configuration file
webpack.config.js
and run cli command again (1) -
Add npm script to compile files with
npm run build
command instead of (1)