We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
项目是好项目,功能实现的都挺完整,就是发现 TypeScript 方面的支持不是特别好,在实例化时并没有对可选对象的类型表示清楚,目前只能无脑 @ts-ignore。
@ts-ignore
对于 SSR 框架(例如 React 的 NextJS / RemixJS)也不太友好,直接引入进去会提示 window 不存在,不知道是否在 import 过程有立即执行的代码强依赖了客户端环境,目前只能通过按需加载的方式执行。
window
import
打包方面我可以建议尝试下 tsup,之前浅短试用过
The text was updated successfully, but these errors were encountered:
No branches or pull requests
项目是好项目,功能实现的都挺完整,就是发现 TypeScript 方面的支持不是特别好,在实例化时并没有对可选对象的类型表示清楚,目前只能无脑
@ts-ignore
。对于 SSR 框架(例如 React 的 NextJS / RemixJS)也不太友好,直接引入进去会提示
window
不存在,不知道是否在import
过程有立即执行的代码强依赖了客户端环境,目前只能通过按需加载的方式执行。打包方面我可以建议尝试下 tsup,之前浅短试用过
The text was updated successfully, but these errors were encountered: