瀏覽代碼

fix: ignore minicssplugin order

lanjianrong 2 年之前
父節點
當前提交
42350830c9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      config/webpack.config.js

+ 2 - 1
config/webpack.config.js

@@ -593,7 +593,8 @@ module.exports = function (webpackEnv) {
           // Options similar to the same options in webpackOptions.output
           // both options are optional
           filename: 'static/css/[name].[contenthash:8].css',
-          chunkFilename: 'static/css/[name].[contenthash:8].chunk.css'
+          chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',
+          ignoreOrder: true
         }),
       // Generate an asset manifest file with the following content:
       // - "files" key: Mapping of all asset filenames to their corresponding