Update submodules webpack

pull/15581/head
jesusbotella 5 years ago
parent 30af3f1ba6
commit 499014d063

@ -50,10 +50,8 @@ module.exports = {
path.resolve(path.resolve('.'), 'node_modules/internal-carto.js') path.resolve(path.resolve('.'), 'node_modules/internal-carto.js')
], ],
options: { options: {
presets: [ presets: ['@babel/env'],
['es2015', { 'modules': false }] plugins: ['@babel/plugin-transform-object-assign', '@babel/plugin-proposal-object-rest-spread']
],
plugins: ['transform-object-assign', 'transform-object-rest-spread']
} }
}, },
{ {

@ -34,7 +34,8 @@ const config = {
path.resolve(__dirname, '../../lib/assets/javascripts/carto-node') path.resolve(__dirname, '../../lib/assets/javascripts/carto-node')
], ],
options: { options: {
babelrc: true presets: ['@babel/env'],
plugins: ['@babel/plugin-transform-object-assign']
} }
}] }]
}, },

Loading…
Cancel
Save