Skip to content

Commit

Permalink
chore(nuxt.config): change the esbuild target
Browse files Browse the repository at this point in the history
The `default target` `es2019` had no support for `BigInt` and
the project could not be built.
  • Loading branch information
marcel-bitfly committed Oct 1, 2024
1 parent 203901b commit d2e22d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ export default defineNuxtConfig({
'@nuxt/eslint',
'@vueuse/nuxt',
],
nitro: { compressPublicAssets: true },
nitro: {
compressPublicAssets: true,
esbuild: {
options: {
target: 'esnext',
},
},
},
postcss: { plugins: { autoprefixer: {} } },
routeRules: { '/': { redirect: '/dashboard' } },
runtimeConfig: {
Expand Down

0 comments on commit d2e22d8

Please sign in to comment.