webpack

  • Alias: wp

  • For development use mhy wp serve

Default command

webpack --config mhy/configs/webpack

CLI Options

https://webpack.js.org/api/cli/

Examples

Default CLI

mhy webpack
# or
mhy wp
# or dev server
mhy wp serve

In production mode

With watcher

Debug performance

SpeedMeasurePlugin is being supported out-of-the-box which is giving statistics for you about the time being spent on different stages of the build process to make it easier to track down build performance issues.

Usage

You just need to pass the --mhy-debug flag to your command.

Last updated

Was this helpful?