Skip to content

Commit

Permalink
chore(web): add esbuild targets
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Dec 18, 2023
1 parent d7de97b commit 521a115
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/fresh.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ export default defineConfig({
plugins: [
tailwind(),
],
build: {
target: [
"es2022", // Latest JS features
"chrome120", // Latest Chrome version (120)
"firefox120", // Latest Chrome version (120)
"edge120", // Latest Chrome version (120)
"safari17", // Latest Chrome version (17)
],
},
router: {
trailingSlash: true,
},
Expand Down

0 comments on commit 521a115

Please sign in to comment.