mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(webpack): always resolve core-js to v3 (#5307)
This commit is contained in:
parent
aa61deadf8
commit
65c1f86ea3
@ -60,7 +60,7 @@
|
||||
"@nuxt/loading-screen": "^0.1.2",
|
||||
"@nuxt/opencollective": "^0.2.1",
|
||||
"@nuxt/webpack": "2.4.5",
|
||||
"core-js": "3",
|
||||
"core-js": "^3.0.0",
|
||||
"regenerator-runtime": "^0.13.2"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -19,7 +19,8 @@
|
||||
"@babel/runtime": "^7.4.2",
|
||||
"@babel/runtime-corejs3": "^7.4.2",
|
||||
"@vue/babel-preset-jsx": "^1.0.0-beta.2",
|
||||
"core-js": "3"
|
||||
"core-js": "^3.0.0",
|
||||
"core-js-compat": "^3.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -17,6 +17,7 @@
|
||||
"caniuse-lite": "^1.0.30000951",
|
||||
"chalk": "^2.4.2",
|
||||
"consola": "^2.5.7",
|
||||
"core-js": "^3.0.0",
|
||||
"css-loader": "^2.1.1",
|
||||
"cssnano": "^4.1.10",
|
||||
"eventsource-polyfill": "^0.9.6",
|
||||
|
@ -188,7 +188,8 @@ export default class WebpackBaseConfig {
|
||||
'@': path.join(srcDir),
|
||||
'@@': path.join(rootDir),
|
||||
[assetsDir]: path.join(srcDir, assetsDir),
|
||||
[staticDir]: path.join(srcDir, staticDir)
|
||||
[staticDir]: path.join(srcDir, staticDir),
|
||||
'core-js': path.dirname(require.resolve('core-js/package.json'))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3519,7 +3519,7 @@ core-js-pure@3.0.0, core-js-pure@^3.0.0:
|
||||
resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b"
|
||||
integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g==
|
||||
|
||||
core-js@3, core-js@3.0.0, core-js@^3.0.0:
|
||||
core-js@3.0.0, core-js@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.npmjs.org/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957"
|
||||
integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ==
|
||||
|
Loading…
Reference in New Issue
Block a user