mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-07 14:23:06 +08:00
delete pkg.postcss,pkg.browserslist
This commit is contained in:
parent
bfa5fb69bf
commit
24f3dc0cac
@ -32,7 +32,10 @@ module.exports = (api, options, rootOptions) => {
|
||||
|
||||
api.render(async function(files) {
|
||||
|
||||
api.extendPackage({
|
||||
api.extendPackage(pkg => {
|
||||
delete pkg.postcss
|
||||
delete pkg.browserslist
|
||||
return {
|
||||
dependencies: {
|
||||
'flyio': '^0.6.2',
|
||||
'vuex': '^3.0.1',
|
||||
@ -46,6 +49,7 @@ module.exports = (api, options, rootOptions) => {
|
||||
'Android >= 4.4',
|
||||
'ios >= 8'
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
Object.keys(files).forEach(name => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user