Skip to content

Commit b76f1db

Browse files
devjiwonchoihuozhi
authored andcommitted
fix: eslint-config-next types was exporting to dist/src (#85768)
`eslint-config-next` types were being emitted to `dist/src` instead of `dist/` during build. | Before | After | |--------|--------| | <img width="422" height="452" alt="CleanShot 2025-11-04 at 15 50 38@2x" src="https://github.com/user-attachments/assets/09c96d1a-41ba-4da9-87c6-bc05257c6e2a" /> | <img width="386" height="488" alt="CleanShot 2025-11-04 at 15 50 01@2x" src="https://github.com/user-attachments/assets/7b9802a4-e453-4086-90fb-a19e1aec7e20" /> | Fixes #85379 Closes: #84929 Closes: #85653
1 parent 5be825c commit b76f1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"scripts": {
4040
"dev": "pnpm build",
4141
"build": "swc -d dist src && pnpm types",
42-
"types": "tsc --skipLibCheck --declaration --emitDeclarationOnly --esModuleInterop --outDir dist",
42+
"types": "tsc --skipLibCheck --declaration --emitDeclarationOnly --esModuleInterop --declarationDir dist --rootDir src",
4343
"prepublishOnly": "cd ../../ && turbo run build"
4444
},
4545
"exports": {

0 commit comments

Comments
 (0)