fix(cli): postcss loader option changed

This commit is contained in:
chenjiahan
2020-11-21 22:20:16 +08:00
parent a46ba22943
commit 7e7484a5cb
5 changed files with 100 additions and 1025 deletions

View File

@@ -19,9 +19,7 @@ const CSS_LOADERS = [
{
loader: 'postcss-loader',
options: {
config: {
path: POSTCSS_CONFIG_FILE,
},
postcssOptions: require(POSTCSS_CONFIG_FILE),
},
},
];