You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
594 B
32 lines
594 B
6 years ago
|
export default {
|
||
|
babelrc: false,
|
||
|
// runtimeHelpers: true,
|
||
|
presets: [
|
||
|
[
|
||
|
'@babel/env',
|
||
|
{
|
||
|
modules: false,
|
||
|
targets: {
|
||
|
node: 'current'
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
],
|
||
|
|
||
|
plugins: [
|
||
|
// ['@babel/transform-runtime'],
|
||
|
'@babel/proposal-object-rest-spread',
|
||
|
'@babel/proposal-export-default-from',
|
||
|
'@babel/proposal-export-namespace-from',
|
||
|
[
|
||
|
'@babel/plugin-proposal-decorators',
|
||
|
{
|
||
|
legacy: true
|
||
|
}
|
||
|
],
|
||
|
'@babel/proposal-class-properties',
|
||
|
'add-module-exports'
|
||
|
],
|
||
|
exclude: 'packages/**/node_modules/**'
|
||
|
}
|