Revision 5128f755728f4820f0c65bf9eebf1bc8154954c6 authored by Guillaume BILLEY on 24 November 2021, 10:25:30 UTC, committed by Guillaume BILLEY on 24 November 2021, 10:25:30 UTC
1 parent 1b20292
babel.config.js
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
useBuiltIns: 'entry',
},
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-syntax-dynamic-import',
],
env: {
browser: {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['last 2 versions'],
},
modules: false,
useBuiltIns: 'entry',
},
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
],
},
},
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...