Revision db5f88c1f91b7fbf5c75306deede53c28d25855e authored by Luwangel on 03 January 2020, 13:30:05 UTC, committed by Luwangel on 03 January 2020, 13:30:05 UTC
1 parent 2949878
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 ...