Skip to content

Commit 9420ca9

Browse files
committed
chore: bump to [email protected]
1 parent 6da9a5f commit 9420ca9

File tree

3 files changed

+542
-24
lines changed

3 files changed

+542
-24
lines changed

packages/@vuepress/core/lib/node/webpack/createClientConfig.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
module.exports = function createClientConfig (ctx) {
88
const { env } = require('@vuepress/shared-utils')
99
const createBaseConfig = require('./createBaseConfig')
10+
const safeParser = require('postcss-safe-parser')
1011

1112
const config = createBaseConfig(ctx)
1213

@@ -49,7 +50,7 @@ module.exports = function createClientConfig (ctx) {
4950
.use(require('optimize-css-assets-webpack-plugin'), [{
5051
canPrint: false,
5152
cssProcessorOptions: {
52-
safe: true,
53+
parser: safeParser,
5354
autoprefixer: { disable: true },
5455
mergeLonghand: false
5556
}

packages/@vuepress/core/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
"js-yaml": "^3.11.0",
4949
"lru-cache": "^5.1.1",
5050
"mini-css-extract-plugin": "0.4.4",
51-
"optimize-css-assets-webpack-plugin": "^4.0.0",
51+
"optimize-css-assets-webpack-plugin": "^5.0.1",
5252
"portfinder": "^1.0.13",
5353
"postcss-loader": "^2.1.5",
54+
"postcss-safe-parser": "^4.0.1",
5455
"toml": "^2.3.3",
5556
"url-loader": "^1.0.1",
5657
"vue": "^2.5.16",

0 commit comments

Comments
 (0)