Revision 91995f85b2d743d6d39af58a96c84590995e3665 authored by Anthony Rimet on 22 March 2023, 13:47:09 UTC, committed by Anthony Rimet on 22 March 2023, 13:47:09 UTC
1 parent ab52a67
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 ...