mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(cli): postcss loader option changed
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
"vue": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.15",
|
||||
"@types/webpack-dev-server": "^3.11.1",
|
||||
"@types/fs-extra": "^9.0.4",
|
||||
"@types/lodash": "^4.14.165",
|
||||
"@types/postcss-load-config": "^2.0.1"
|
||||
@@ -46,6 +44,8 @@
|
||||
"@babel/preset-env": "^7.12.7",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
|
||||
"@types/jest": "^26.0.15",
|
||||
"@types/webpack-dev-server": "^3.11.1",
|
||||
"@vant/eslint-config": "^3.0.0",
|
||||
"@vant/markdown-loader": "^3.0.1",
|
||||
"@vant/markdown-vetur": "^2.0.2",
|
||||
|
@@ -19,9 +19,7 @@ const CSS_LOADERS = [
|
||||
{
|
||||
loader: 'postcss-loader',
|
||||
options: {
|
||||
config: {
|
||||
path: POSTCSS_CONFIG_FILE,
|
||||
},
|
||||
postcssOptions: require(POSTCSS_CONFIG_FILE),
|
||||
},
|
||||
},
|
||||
];
|
||||
|
Reference in New Issue
Block a user