liyongli 3 ani în urmă
părinte
comite
b993637636
1 a modificat fișierele cu 12 adăugiri și 12 ștergeri
  1. 12 12
      webpack.dll.js

+ 12 - 12
webpack.dll.js

@@ -2,20 +2,20 @@ const path = require("path");
 const webpack = require("webpack");
 const terserWebpackPlugin = require("terser-webpack-plugin");
 
-const {CleanWebpackPlugin} = require('clean-webpack-plugin')
+const { CleanWebpackPlugin } = require("clean-webpack-plugin");
 
 module.exports = {
   mode: "production",
   entry: {
     vue: [
-        "axios",
-        "core-js",
-        "echarts",
-        "echarts-wordcloud",
-        "element-plus",
-        "js-sha256",
-        "vue",
-        "vue-router"
+      "axios",
+      "core-js",
+      "echarts",
+      "echarts-wordcloud",
+      "element-plus",
+      "js-sha256",
+      "vue",
+      "vue-router",
     ],
   },
   output: {
@@ -31,9 +31,9 @@ module.exports = {
     ],
   },
   plugins: [
-      new CleanWebpackPlugin({
-          path: path.join(__dirname, "./dll")
-      }),
+    new CleanWebpackPlugin({
+      path: path.join(__dirname, "./dll"),
+    }),
     new webpack.DllPlugin({
       name: "dll+[name]",
       path: path.resolve(__dirname, "./dll/[name].manifest.json"),