Revision 87b6c8f238506b9161ee9445eab6b0b16812b70b authored by Nicolas Thouvenin on 20 December 2018, 11:41:54 UTC, committed by Nicolas Thouvenin on 20 December 2018, 15:52:34 UTC
1 parent 7fb038f
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 ...