aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/package.json4
-rw-r--r--vnext/webpack.config.js14
-rw-r--r--vnext/yarn.lock15
3 files changed, 11 insertions, 22 deletions
diff --git a/vnext/package.json b/vnext/package.json
index 606d4a5d..8be4ee5c 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -63,6 +63,7 @@
"@babel/preset-env",
{
"useBuiltIns": "usage",
+ "corejs": 3,
"shippedProposals": true
}
],
@@ -78,8 +79,8 @@
}
},
"dependencies": {
- "@babel/polyfill": "^7.4.3",
"axios": "^0.18.0",
+ "core-js": "^3.0.0",
"immutability-helper": "^3.0.0",
"moment": "^2.24.0",
"qs": "^6.7.0",
@@ -89,6 +90,7 @@
"react-dom": "16.8.6",
"react-router-dom": "^5.0.0",
"react-use-form-state": "^0.9.0",
+ "regenerator-runtime": "^0.13.2",
"url-polyfill": "^1.1.5"
}
}
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index 6dbeb98d..148544b1 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -15,13 +15,13 @@ module.exports = (env, argv) => {
mode: dev ? 'development' : 'production',
entry: {
'Juick': [
- 'core-js/modules/es6.array.map',
- 'core-js/modules/es6.object.create',
- 'core-js/modules/es6.object.define-property',
- 'core-js/modules/es6.object.set-prototype-of',
- 'core-js/modules/es6.promise',
- 'core-js/modules/es6.symbol',
- 'core-js/modules/web.dom.iterable',
+ 'core-js/modules/es.array.map',
+ 'core-js/modules/es.object.create',
+ 'core-js/modules/es.object.define-property',
+ 'core-js/modules/es.object.set-prototype-of',
+ 'core-js/modules/es.promise',
+ 'core-js/modules/es.symbol',
+ 'core-js/modules/web.dom-collections.iterator',
'url-polyfill',
__dirname + '/src/index.js',
__dirname + '/src/style/main.css'
diff --git a/vnext/yarn.lock b/vnext/yarn.lock
index 81f90678..5603d4a9 100644
--- a/vnext/yarn.lock
+++ b/vnext/yarn.lock
@@ -784,14 +784,6 @@
"@babel/helper-regex" "^7.4.3"
regexpu-core "^4.5.4"
-"@babel/polyfill@^7.4.3":
- version "7.4.3"
- resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.4.3.tgz#332dc6f57b718017c3a8b37b4eea8aa6eeac1187"
- integrity sha512-rkv8WIvJshA5Ev8iNMGgz5WZkRtgtiPexiT7w5qevGTuT7ZBfM3de9ox1y9JR5/OXb/sWGBbWlHNa7vQKqku3Q==
- dependencies:
- core-js "^2.6.5"
- regenerator-runtime "^0.13.2"
-
"@babel/preset-env@7.4.3":
version "7.4.3"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.3.tgz#e71e16e123dc0fbf65a52cbcbcefd072fbd02880"
@@ -2780,7 +2772,7 @@ core-js-pure@3.0.0:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b"
integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g==
-core-js@3.0.0:
+core-js@3.0.0, core-js@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957"
integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ==
@@ -2790,11 +2782,6 @@ core-js@^1.0.0:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=
-core-js@^2.6.5:
- version "2.6.5"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895"
- integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A==
-
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"