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.browser.config.js

32 lines
656 B

export default {
babelrc: false,
runtimeHelpers: true,
presets: [
[
'@babel/env',
{
modules: false,
targets: {
browsers: ['>0.25%'],
},
useBuiltIns: 'usage',
},
],
'@babel/typescript',
],
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/**',
};