mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nitro): set esbuild target: '2019'
(#189)
This commit is contained in:
parent
f6b85ef7a8
commit
7c85daa64e
@ -20,6 +20,7 @@
|
||||
"version": "yarn && git add yarn.lock"
|
||||
},
|
||||
"resolutions": {
|
||||
"esbuild": "^0.12",
|
||||
"nuxt3": "workspace:./packages/nuxt3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -145,6 +145,7 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
||||
|
||||
// ESBuild
|
||||
rollupConfig.plugins.push(esbuild({
|
||||
target: 'es2019',
|
||||
sourceMap: true
|
||||
}))
|
||||
|
||||
|
20
yarn.lock
20
yarn.lock
@ -5636,25 +5636,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esbuild@npm:^0.11.19, esbuild@npm:^0.11.6":
|
||||
version: 0.11.23
|
||||
resolution: "esbuild@npm:0.11.23"
|
||||
bin:
|
||||
esbuild: bin/esbuild
|
||||
checksum: 9226fc3d74f7555c96778c5d9204312c578e9c11b472deebfbab52c4ac58b9efc3a40be529368f6ccbe257d0059c6b8fd142c179824a3227d055d912c7b5a94a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esbuild@npm:^0.12.1, esbuild@npm:^0.12.5":
|
||||
version: 0.12.6
|
||||
resolution: "esbuild@npm:0.12.6"
|
||||
bin:
|
||||
esbuild: bin/esbuild
|
||||
checksum: 5303e77b84575ab4c71b381d797723f57208dd314c2d85e12b7f23fcd9edebf9e2be4bf2a7a23384205cd953990a4694b07dec00bbab55a6a729b5ca5bf8f0dd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esbuild@npm:^0.12.7":
|
||||
"esbuild@npm:^0.12":
|
||||
version: 0.12.7
|
||||
resolution: "esbuild@npm:0.12.7"
|
||||
bin:
|
||||
|
Loading…
Reference in New Issue
Block a user