Skip to content

feat: support auto infer entries#43

Closed
Wyatex wants to merge 6 commits intounjs:mainfrom
Wyatex:main
Closed

feat: support auto infer entries#43
Wyatex wants to merge 6 commits intounjs:mainfrom
Wyatex:main

Conversation

@Wyatex
Copy link
Copy Markdown

@Wyatex Wyatex commented Jun 13, 2025

feat: support auto infer entries, #4

fix: resolve directory separator issue on Windows
If forward slashes / are not used consistently, bundling on Windows (e.g., src\util.ts) may fail because \u is treated as a special character.

fix: read package.json fail on Windows
The line await readJSON(join(pkgDir, "package.json")).catch(() => ({})); fails to correctly read package.json on Windows, preventing Rolldown from properly excluding dependencies. This results in an [UNRESOLVED_IMPORT] error during bundling.

@Wyatex Wyatex changed the title chore: support uto infer entries chore: support auto infer entries Jun 13, 2025
@Wyatex
Copy link
Copy Markdown
Author

Wyatex commented Jun 15, 2025

Alright, then I'll remove the CJS bundling and try replacing jiti with 'pkg-types' 'readPackageJSON'.

@zsilbi zsilbi mentioned this pull request Jun 18, 2025
@pi0 pi0 changed the title chore: support auto infer entries feat: support auto infer entries Oct 26, 2025
@Wyatex Wyatex closed this Nov 12, 2025
@pi0
Copy link
Copy Markdown
Member

pi0 commented Nov 12, 2025

Why closed? (it is still a nice feature i was just busy to check)

@Wyatex
Copy link
Copy Markdown
Author

Wyatex commented Nov 12, 2025

I'm sorry that I've been too busy with work to keep up with this project and its features. I believe it would be best to assign this to someone else for implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants