-
Couldn't load subscription status.
- Fork 3.2k
remove CJS exports #9687
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
base: main
Are you sure you want to change the base?
remove CJS exports #9687
Conversation
aa5baf9 to
84fb460
Compare
| "build:watch": "pnpm clean && tsup --tsconfig tsconfig.build.json --watch", | ||
| "clean": "rm -rf dist *.tsbuildinfo", | ||
| "lint": "eslint \"./**/*.ts*\"", | ||
| "lint": "eslint \"./**/*.{ts,tsx}\"", |
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.
ignores .tsbuildinfo files
| "tsup": "^7.2.0", | ||
| "typescript": "5.8.3", | ||
| "vitest": "^3.0.0", | ||
| "vitest": "^3.2.4", |
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.
fixes a problem with Node 24
| @@ -1,14 +1,16 @@ | |||
| import { defineConfig } from 'tsup'; | |||
| import packageJson from './package.json'; | |||
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.
Hm this should have been
import packageJson from './package.json' with { type: 'json' };instead of the dynamic async import below
Closes #9681