mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
chore(nitro): upgrade unenv
and remove old workaround (#595)
This commit is contained in:
parent
26163d68b7
commit
f79f6fe40f
@ -63,7 +63,7 @@
|
|||||||
"std-env": "^2.3.0",
|
"std-env": "^2.3.0",
|
||||||
"table": "^6.7.1",
|
"table": "^6.7.1",
|
||||||
"ufo": "^0.7.9",
|
"ufo": "^0.7.9",
|
||||||
"unenv": "^0.3.8",
|
"unenv": "^0.3.10",
|
||||||
"unstorage": "^0.2.8",
|
"unstorage": "^0.2.8",
|
||||||
"upath": "^2.0.1",
|
"upath": "^2.0.1",
|
||||||
"vue": "3.2.19",
|
"vue": "3.2.19",
|
||||||
|
@ -58,8 +58,6 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
|||||||
|
|
||||||
const env = unenv.env(nodePreset, builtinPreset, nitroContext.env)
|
const env = unenv.env(nodePreset, builtinPreset, nitroContext.env)
|
||||||
|
|
||||||
delete env.alias['node-fetch'] // FIX ME
|
|
||||||
|
|
||||||
if (nitroContext.sourceMap) {
|
if (nitroContext.sourceMap) {
|
||||||
env.polyfill.push('source-map-support/register.js')
|
env.polyfill.push('source-map-support/register.js')
|
||||||
}
|
}
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -1570,7 +1570,7 @@ __metadata:
|
|||||||
table: ^6.7.1
|
table: ^6.7.1
|
||||||
ufo: ^0.7.9
|
ufo: ^0.7.9
|
||||||
unbuild: latest
|
unbuild: latest
|
||||||
unenv: ^0.3.8
|
unenv: ^0.3.10
|
||||||
unstorage: ^0.2.8
|
unstorage: ^0.2.8
|
||||||
upath: ^2.0.1
|
upath: ^2.0.1
|
||||||
vue: 3.2.19
|
vue: 3.2.19
|
||||||
@ -13749,9 +13749,9 @@ fsevents@~2.3.2:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"unenv@npm:^0.3.8":
|
"unenv@npm:^0.3.10":
|
||||||
version: 0.3.8
|
version: 0.3.10
|
||||||
resolution: "unenv@npm:0.3.8"
|
resolution: "unenv@npm:0.3.10"
|
||||||
dependencies:
|
dependencies:
|
||||||
buffer: ^6.0.2
|
buffer: ^6.0.2
|
||||||
defu: ^5.0.0
|
defu: ^5.0.0
|
||||||
@ -13762,7 +13762,7 @@ fsevents@~2.3.2:
|
|||||||
process: ^0.11.10
|
process: ^0.11.10
|
||||||
upath: ^2.0.1
|
upath: ^2.0.1
|
||||||
util: ^0.12.4
|
util: ^0.12.4
|
||||||
checksum: 4215422f908a9083a651e6256ca02ef257c7df26d5ed1edec4749f4a93781b3e1eb38f07c8b276da2e3b26105701694a081f7e787e1af2293f427d381dcff992
|
checksum: 502a699d88bbe45e26920d74dd756b63e78e748f73963a0c62b58584f974b856367d1c3c3d697f52b889b9cc1e750d3157caa5bb0d86c51cf32d482d5c383ec8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user