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')
],
options: {
presets: [
['es2015', { 'modules': false }]
],
plugins: ['transform-object-assign', 'transform-object-rest-spread']
presets: ['@babel/env'],
plugins: ['@babel/plugin-transform-object-assign', '@babel/plugin-proposal-object-rest-spread']
}
},
{

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

Loading…
Cancel
Save