-
Notifications
You must be signed in to change notification settings - Fork 1.5k
build(site): fix #5570 #5571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(site): fix #5570 #5571
Conversation
packages/site/package.json
Outdated
@@ -28,7 +28,7 @@ | |||
"build": "npm run doc && dumi build", | |||
"deploy": "npm run build && gh-pages -d dist", | |||
"dev": "dumi dev", | |||
"doc": "npm run doc:prepare && ts-node ./scripts/generate-api.ts && ts-node ./scripts/generate-intl.ts", | |||
"doc": "npm run doc:prepare && tsx ./scripts/generate-api.ts && tsx ./scripts/generate-intl.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个当前问题是什么?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个解法使用修改配置的方式可以解决吗?
{
"compilerOptions": {
"esModuleInterop": true,
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不行 问题也在
CONTRIBUTING.en-US.md 文档中也有类似的拼写错误,也在这个 PR 中帮忙处理掉吧,感谢。 |
好 |
关于使用
|
把 tsx 相关的变动先去掉吧,先把文档问题合并掉,tsx 部分可以继续讨论。 |
hao |
to resolve #5570