15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
module.exports = {
|
|
presets: [
|
|
'@babel/preset-react',
|
|
['@babel/preset-env', {
|
|
modules: false,
|
|
}],
|
|
],
|
|
plugins: [
|
|
'@babel/plugin-transform-runtime',
|
|
'@babel/plugin-syntax-dynamic-import',
|
|
['@babel/plugin-proposal-decorators', {'legacy': true }],
|
|
['@babel/plugin-proposal-class-properties',{'loose':true}],
|
|
],
|
|
};
|