bibhamrokhanpin/wp-content/__plugins/redux-framework/redux-templates/babel.config.js
2024-04-10 17:46:06 +05:45

19 lines
427 B
JavaScript

module.exports = api => {
api.cache( false )
return {
presets: [
[ '@babel/preset-env', { modules: false } ],
'@babel/preset-react',
],
env: {
test: {
plugins: [
'@babel/plugin-transform-modules-commonjs',
'@babel/plugin-proposal-class-properties',
],
},
},
}
}