Skip to content

Commit

Permalink
feat: add target option to rollupOptions in vite.config
Browse files Browse the repository at this point in the history
  • Loading branch information
vuonghuuhung committed Dec 2, 2024
1 parent 5fc8a4d commit b9cdb8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default defineConfig({
build: {
commonjsOptions: { transformMixedEsModules: true },
outDir: path.resolve(__dirname, 'build'),
rollupOptions: {}
rollupOptions: {},
target: "esnext"
}
});

0 comments on commit b9cdb8d

Please sign in to comment.