babel.config.js
438 Bytes
module.exports = {
presets: [
['@babel/preset-env', {
modules: false,
useBuiltIns: 'usage',
corejs: 2
}]
],
sourceType: 'unambiguous',
plugins: [
'transform-vue-jsx',
'@babel/transform-async-to-generator',
'@babel/proposal-object-rest-spread',
'@babel/syntax-dynamic-import',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator'
]
};