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