-
Notifications
You must be signed in to change notification settings - Fork 124
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
feat: use tshy to support commonjs and esm both #468
Conversation
}, | ||
"types": "./src/esm/index.d.ts", | ||
"main": "./src/cjs/index.js", | ||
"typings": "./dist/commonjs/index.d.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.
确保 tsconfig module 配置为 commonjs 的老应用可以依赖
Codecov Report
@@ Coverage Diff @@
## master #468 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 8 8
Lines 1411 1411
Branches 253 253
=======================================
Hits 1406 1406
Misses 5 5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
[skip ci] ## [3.19.0](v3.18.1...v3.19.0) (2023-09-14) ### Features * use tshy to support commonjs and esm both ([#468](#468)) ([b2576c0](b2576c0))
https://isaacs.github.io/tshy/