mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-29 00:10:12 +08:00
update babel useBuiltIns
This commit is contained in:
parent
4656445949
commit
abc0b71d1a
@ -42,7 +42,7 @@ module.exports = {
|
||||
'@vue/app',
|
||||
{
|
||||
modules: 'commonjs',
|
||||
useBuiltIns: 'entry'
|
||||
useBuiltIns: process.env.UNI_PLATFORM === 'h5' ? 'usage' : 'entry'
|
||||
}
|
||||
]
|
||||
],
|
||||
|
@ -1,4 +1,3 @@
|
||||
const pkg = require('./package.json')
|
||||
module.exports = {
|
||||
parser: require('postcss-comment'),
|
||||
plugins: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user