• Alias: wp

  • For development use mhy wp serve

Default command

webpack --config mhy/configs/webpack

CLI Options



Default CLI

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

In production mode

mhy webpack --mhy-env=prod
# or
NODE_ENV=production mhy webpack

With watcher

mhy webpack -w
# or
mhy wp --watch

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.


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

mhy wp --mhy-debug

Last updated