Merge pull request #40 from amowu/hotfix/postcss-values-parser-syntax-error

解決 postcss-values-parser 出現 Syntax Error 的問題
This commit is contained in:
Harvey Zack authored and GitHub committed 2019-08-21 11:11:39 +08:00
commit 1eb13d9121
1 file changed
+6 -1
+6 -1
View File
@@ -47,7 +47,12 @@ module.exports = function creatRollupConfig(projectPath) {
plugins: [
autoprefixer(),
cssnano({
preset: 'default',
preset: [
'default',
{
calc: false
}
],
}),
],
sourceMap: isProd ? false : true,