message: fix(cli): build site failed
diff: @@ -12,8 +12,12 @@ const PLUGIN_NAME = 'VantCliSitePlugin';
  export class VantCliSitePlugin {
  apply(compiler: Compiler) {
  + if (process.env.NODE_ENV === 'production') {
  + compiler.hooks.beforeCompile.tapPromise(PLUGIN_NAME, this.genSiteEntry);
  + } else {
  compiler.hooks.watchRun.tapPromise(PLUGIN_NAME, this.genSiteEntry);
  }
  + }
  genSiteEntry() {
  return new Promise((resolve, reject) => {
  