mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-03 18:40:45 -05:00
fix(babel preset): allow setting useBuiltIns to be false. (#843)
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = (context, options = {}) => {
|
||||
const envOptions = {
|
||||
modules: options.modules || false,
|
||||
targets: options.targets,
|
||||
useBuiltIns: options.useBuiltIns || 'usage'
|
||||
useBuiltIns: typeof options.useBuiltIns === 'undefined' ? 'usage' : options.useBuiltIns
|
||||
}
|
||||
delete envOptions.jsx
|
||||
// target running node version (this is set by unit testing plugins)
|
||||
|
||||
Reference in New Issue
Block a user