Skip to content

Commit

Permalink
RC #261 - Adding "jsx" loader to "esbuildOptions" in Storybook vite.c…
Browse files Browse the repository at this point in the history
…onfig.js
  • Loading branch information
dleadbetter committed Mar 12, 2024
1 parent f22431e commit cd8b078
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/storybook/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default defineConfig(() => ({
},
optimizeDeps: {
esbuildOptions: {
loader: {
'.js': 'jsx',
},
plugins: [esbuildFlowPlugin()]
}
},
Expand Down

0 comments on commit cd8b078

Please sign in to comment.