Update webpacker (babel7)

This commit is contained in:
Paul Chavard 2018-11-08 15:43:06 +01:00
parent 3cd2f75f71
commit c492e1cd88
5 changed files with 2196 additions and 3189 deletions

View file

@ -1,7 +1,7 @@
// Include runtime-polyfills for older browsers.
// Due to .babelrc's 'useBuiltIns', only polyfills actually
// required by the browsers we support will be included.
import 'babel-polyfill';
import '@babel/polyfill';
// This file is copied from mailjet. We serve here a copy of it ourselves
// to avoid loading javascript files from other domains on the frontpage.

View file

@ -1,5 +1,5 @@
// Include runtime-polyfills for older browsers.
// Due to .babelrc's 'useBuiltIns', only polyfills actually
// required by the browsers we support will be included.
import 'babel-polyfill';
import '@babel/polyfill';
import 'dom4';