Revision e49475f3472faaa2a1b790f7bcfbea169fd1b889 authored by Nicolas Thouvenin on 07 March 2019, 10:31:25 UTC, committed by Nicolas Thouvenin on 07 March 2019, 10:31:25 UTC
1 parent 961a044
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',
],
},
},
};
Computing file changes ...