Javascript SDK of WoopChain protocol
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.
 
 
sdk/scripts/babel/babel.server.config.js

31 lines
594 B

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/**'
}