Skip to content

Commit 6255a79

Browse files
committed
fix: dynamic load componet extract css not require, must use allChunk
1 parent 09cb243 commit 6255a79

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

config/plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ exports.extract = {
239239
},
240240
args() {
241241
return {
242-
filename: this.webpackInfo.cssName
242+
filename: this.webpackInfo.cssName,
243+
allChunks: true
243244
};
244245
}
245246
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easywebpack",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"description": "基于 Webpack 的前端构建工程化解决方案",
55
"keywords": [
66
"webpack",

0 commit comments

Comments
 (0)