We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f6aeb commit 2dafd88Copy full SHA for 2dafd88
packages/@vuepress/core/lib/webpack/createBaseConfig.js
@@ -271,7 +271,9 @@ module.exports = function createBaseConfig ({
271
styles: {
272
name: 'styles',
273
// necessary to ensure async chunks are also extracted
274
- test: m => /css-extract/.test(m.type),
+ test: m => {
275
+ return /css\/mini-extract/.test(m.type)
276
+ },
277
chunks: 'all',
278
enforce: true
279
}
packages/@vuepress/core/package.json
@@ -51,7 +51,7 @@
51
"koa-range": "^0.3.0",
52
"koa-static": "^4.0.2",
53
"lru-cache": "^4.1.2",
54
- "mini-css-extract-plugin": "^0.4.1",
+ "mini-css-extract-plugin": "0.4.4",
55
"optimize-css-assets-webpack-plugin": "^4.0.0",
56
"portfinder": "^1.0.13",
57
"postcss-loader": "^2.1.5",
0 commit comments