Set corejs version

This commit is contained in:
Mark McDowall 2019-07-16 18:31:39 -07:00
parent d7d46a93a7
commit 3f02c150e3
3 changed files with 10 additions and 2 deletions

View File

@ -100,6 +100,7 @@ const config = {
loose: true,
debug: false,
useBuiltIns: 'entry',
corejs: 3,
targets: browsers
}
]
@ -119,8 +120,9 @@ const config = {
loader: 'css-loader',
options: {
importLoaders: 1,
localIdentName: '[name]/[local]/[hash:base64:5]',
modules: true
modules: {
localIdentName: '[name]/[local]/[hash:base64:5]'
}
}
},
{

View File

@ -43,6 +43,7 @@
"classnames": "2.2.6",
"clipboard": "2.0.4",
"connected-react-router": "6.3.1",
"core-js": "3",
"create-react-class": "15.6.3",
"css-loader": "3.0.0",
"del": "4.0.0",

View File

@ -2496,6 +2496,11 @@ core-js-pure@3.1.4:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.1.4.tgz#5fa17dc77002a169a3566cc48dc774d2e13e3769"
integrity sha512-uJ4Z7iPNwiu1foygbcZYJsJs1jiXrTTCvxfLDXNhI/I+NHbSIEyr548y4fcsCEyWY0XgfAG/qqaunJ1SThHenA==
core-js@3:
version "3.1.4"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.1.4.tgz#3a2837fc48e582e1ae25907afcd6cf03b0cc7a07"
integrity sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ==
core-js@^1.0.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"