summaryrefslogtreecommitdiffstats
path: root/babel.config.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-04-02 11:07:54 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-04-02 11:20:26 +0200
commite3f87422b66d51def3c1d231e8de7de82fd7965f (patch)
tree76b6fef869d9125cae6206daed492c07bd91ac02 /babel.config.js
parent4373f156c53f817a5a38f86db341f869369e7481 (diff)
Update babel.config.js
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/babel.config.js b/babel.config.js
index 8734f52b..5496c985 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,7 +1,14 @@
module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
- '@babel/plugin-proposal-object-rest-spread'
],
- presets: ['@babel/preset-env']
+ presets: [
+ [
+ '@babel/preset-env',
+ {
+ corejs: 3,
+ useBuiltIns: 'entry',
+ },
+ ],
+ ],
}