mirror of
https://github.com/Tencent/tdesign-react.git
synced 2024-10-23 08:33:49 +08:00
fix: 修复 csscano 导致css文件丢失末尾分号问题 (#1954)
This commit is contained in:
parent
10ece0843a
commit
b495f455f4
@ -1,15 +1,5 @@
|
||||
const plugins = [
|
||||
require('autoprefixer'),
|
||||
require('cssnano')({
|
||||
preset: [
|
||||
'default',
|
||||
{
|
||||
discardComments: {
|
||||
removeAll: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
}),
|
||||
require('autoprefixer')
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
|
Loading…
Reference in New Issue
Block a user