fix: 修复 csscano 导致css文件丢失末尾分号问题 (#1954)

This commit is contained in:
Kyrielin 2023-02-08 11:22:40 +08:00 committed by GitHub
parent 10ece0843a
commit b495f455f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,5 @@
const plugins = [
require('autoprefixer'),
require('cssnano')({
preset: [
'default',
{
discardComments: {
removeAll: true,
},
},
],
}),
require('autoprefixer')
];
module.exports = {