Skip to content

Commit a9ac1a9

Browse files
zigomiryyx990803
authored andcommitted
fix(babel preset): allow setting useBuiltIns to be false. (#843)
1 parent 3dcf3c6 commit a9ac1a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/babel-preset-app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = (context, options = {}) => {
1717
const envOptions = {
1818
modules: options.modules || false,
1919
targets: options.targets,
20-
useBuiltIns: options.useBuiltIns || 'usage'
20+
useBuiltIns: typeof options.useBuiltIns === 'undefined' ? 'usage' : options.useBuiltIns
2121
}
2222
delete envOptions.jsx
2323
// target running node version (this is set by unit testing plugins)

0 commit comments

Comments
 (0)