Skip to content

Commit

Permalink
fix: set default jsx esbuild option
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Aug 26, 2023
1 parent a6c92ad commit 403f43a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/runtime/viteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export function createViteConfig(options: {
},
},
},
optimizeDeps: {
esbuildOptions: {
jsx: 'automatic',
},
},
plugins: [react()],
resolve: {alias: config?.alias},
root: path.resolve(cwd, '.workshop'),
Expand Down

0 comments on commit 403f43a

Please sign in to comment.