You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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' } },
The text was updated successfully, but these errors were encountered:
isakgustavsen
changed the title
Error on edge when building
Error on Vercel edge when building
Mar 11, 2024
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' } },
The text was updated successfully, but these errors were encountered: