Skip to content

Commit 1b5aadb

Browse files
committed
fix: Flat config TypeScript fix
Fixes TypeScript types for CJS usage of flat config. Fixes #299
1 parent 6a84431 commit 1b5aadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"dist"
3131
],
3232
"scripts": {
33-
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist",
33+
"build": "tsup src/index.ts --format cjs,esm --dts --out-dir dist --cjsInterop",
3434
"lint": "eslint .",
3535
"fmt": "prettier --write .",
3636
"fmt:check": "prettier --check .",

0 commit comments

Comments
 (0)