Skip to content

Commit

Permalink
added esnext target for top-level await
Browse files Browse the repository at this point in the history
  • Loading branch information
jgentes committed May 21, 2024
1 parent bcb12ed commit b9b1be8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
build: {
sourcemap: true
sourcemap: true,
target: 'esnext',
},
server: {
port: 3000
port: 3000,
},
plugins: [
remixDevTools(),
remix({ presets: [vercelPreset()] }),
tsconfigPaths()
]
tsconfigPaths(),
],
})

0 comments on commit b9b1be8

Please sign in to comment.