fix: umd build, closes #3642

This commit is contained in:
07akioni 2022-08-31 22:33:03 +08:00
parent 43faa886e9
commit efc0f02771
3 changed files with 11 additions and 1 deletions

View File

@ -2,6 +2,10 @@
## NEXT_VERSION
### Fixes
- Fix UMD bundle doesn't work, closes [#3642](https://github.com/tusen-ai/naive-ui/issues/3642).
### Feats
- `n-radio` adds `colorActive` theme variable, closes [#3610](https://github.com/tusen-ai/naive-ui/issues/3610).

View File

@ -2,6 +2,10 @@
## NEXT_VERSION
### Fixes
- 修复 UMD 构建产物不能正常工作,关闭 [#3642](https://github.com/tusen-ai/naive-ui/issues/3642)
### Feats
- `n-radio` 新增 `colorActive` 主题变量,关闭 [#3610](https://github.com/tusen-ai/naive-ui/issues/3610)

View File

@ -1,6 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"jsx": "react"
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
}
}