Van 6 years ago
parent
commit
f1d1328aac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webpack.config.js

+ 1 - 1
webpack.config.js

@@ -118,7 +118,7 @@ module.exports = [
     },
     plugins: [
       // new BundleAnalyzerPlugin(),
-      new CleanWebpackPlugin(['./dist']),
+      new CleanWebpackPlugin([path.join(__dirname, 'dist')]),
       new webpack.DefinePlugin({
         VDITOR_VERSION: JSON.stringify(pkg.version),
         CDN_PATH: JSON.stringify(pkg.cdn),