nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

Error on Vercel edge when building

Open isakgustavsen opened this issue 11 months ago • 2 comments

Build fails when deploying to Vercel edge using nuxt with the following errors /vercel/path0/.nuxt/dist/server/_nuxt/welcome-BePl3Abn.js:6034:15: ERROR: Big integer literals are not available in the configured target environment ("es2019")

Big integer literals are not available in the configured target environment ("es2019")

The current fix for me is to add this to nuxt.config, but that should either be documented or fixed as it is hard to find. Not sure which is the better option. vite: { esbuild: { target: 'esnext' } },

isakgustavsen avatar Mar 11 '24 19:03 isakgustavsen