mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
perf: disable enableObjectSlots to reduce bundle size (#8226)
This commit is contained in:
parent
2c2cd104c9
commit
145b1f5968
@ -1,5 +1,11 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
['@vant/cli/preset', { loose: process.env.BUILD_TARGET === 'package' }],
|
||||
[
|
||||
'@vant/cli/preset',
|
||||
{
|
||||
loose: process.env.BUILD_TARGET === 'package',
|
||||
enableObjectSlots: false,
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user