mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
fix: use fixed react version
This commit is contained in:
parent
86a43618a7
commit
54bb39f6ab
7 changed files with 128 additions and 20 deletions
|
|
@ -14,7 +14,15 @@ export const buildConfig = {
|
|||
platform: 'browser',
|
||||
format: 'iife',
|
||||
target: ['es2018'],
|
||||
jsx: 'automatic',
|
||||
jsx: 'transform',
|
||||
jsxFactory: 'React.createElement',
|
||||
jsxFragment: 'React.Fragment',
|
||||
tsconfigRaw: {
|
||||
compilerOptions: {
|
||||
jsx: 'react',
|
||||
},
|
||||
},
|
||||
external: ['react', 'react-dom', 'react-dom/client'],
|
||||
legalComments: 'none',
|
||||
loader: {
|
||||
'.ts': 'ts',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue