Skip to content

Commit

Permalink
Fix vite standalone deploy as website bug
Browse files Browse the repository at this point in the history
Fix by change vite config
Make us able to deploy our application as website

alloc/vite-react-jsx#10 (comment)
  • Loading branch information
Kamigami55 committed Aug 1, 2022
1 parent 1b7737f commit 6382ba3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [
react({
jsxRuntime: 'classic',
}),
],
})

1 comment on commit 6382ba3

@vercel
Copy link

@vercel vercel bot commented on 6382ba3 Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.