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-20 15:52:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-20 15:52:10 +0300
commitdba864470fbcbb6bdd5b94eb510acdce62c962d8 (patch)
treee8ead0b84e7b814f5891d2c8cd3db2d6b635fb64 /babel.config.js
parentb7d29500f28ff59c8898cdf889a40d3da908f162 (diff)
Add latest changes from gitlab-org/gitlab@12-8-stable-ee
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js
index 91c58cf46bf..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',
@@ -22,6 +24,7 @@ const plugins = [
'@babel/plugin-proposal-json-strings',
'@babel/plugin-proposal-private-methods',
'@babel/plugin-proposal-optional-chaining',
+ 'lodash',
];
// add code coverage tooling if necessary
@@ -50,4 +53,4 @@ if (isJest) {
plugins.push('babel-plugin-dynamic-import-node');
}
-module.exports = { presets, plugins };
+module.exports = { presets, plugins, sourceType: 'unambiguous' };