mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-05-15 15:44:06 +08:00
add postcss-comment
This commit is contained in:
parent
2affd845c1
commit
a6e93c0608
@ -36,6 +36,9 @@ module.exports = (api, options, rootOptions) => {
|
||||
return {
|
||||
dependencies: {
|
||||
'regenerator-runtime': '^0.12.1'// 锁定版本,避免高版本在小程序中出错
|
||||
},
|
||||
devDependencies: {
|
||||
'postcss-comment': '^2.0.0'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -1,5 +1,6 @@
|
||||
const pkg = require('./package.json')
|
||||
module.exports = {
|
||||
module.exports = {
|
||||
parser: require('postcss-comment'),
|
||||
plugins: [
|
||||
require('postcss-import'),
|
||||
require('autoprefixer')({
|
||||
|
Loading…
x
Reference in New Issue
Block a user