Skip to content

Commit

Permalink
chore: add jsx specs for vite dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Aug 16, 2021
1 parent 121c610 commit cb9c198
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
export default {
root: 'dev',
esbuild: {
jsxFactory: 'jsx',
jsxFragment: 'Fragment',
jsxInject: `import { jsx, jsxs, Fragment } from '../src/jsx'`,
},
};

0 comments on commit cb9c198

Please sign in to comment.