16 lines
373 B
JavaScript
16 lines
373 B
JavaScript
const config = {
|
|
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':false}],
|
|
],
|
|
};
|
|
|
|
export default config; |