Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-06 00:09:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-06 00:09:02 +0300
commit76623c12c136f43f24c3966ed4b469e2c0b434b7 (patch)
tree7c5ec884c25e03e4fea131a4d112a9d0ccfd59b8 /babel.config.js
parentb042382bbf5a4977c5b5c6b0a9a33f4e8ca8d16d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js
index ca3baaeee59..dfb3bf19c36 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -6,6 +6,8 @@ const presets = [
[
'@babel/preset-env',
{
+ useBuiltIns: 'usage',
+ corejs: { version: 3, proposals: true },
modules: false,
targets: {
ie: '11',
@@ -51,4 +53,4 @@ if (isJest) {
plugins.push('babel-plugin-dynamic-import-node');
}
-module.exports = { presets, plugins };
+module.exports = { presets, plugins, sourceType: 'unambiguous' };