Skip to content
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

package.json main 希望能指定文件全名,包括扩展名 #3265

Closed
pilaoda opened this issue Sep 19, 2023 · 2 comments
Closed

package.json main 希望能指定文件全名,包括扩展名 #3265

pilaoda opened this issue Sep 19, 2023 · 2 comments
Labels
type: enhancement New feature or request

Comments

@pilaoda
Copy link

pilaoda commented Sep 19, 2023

"main": "dist/index",

例如这里改成dist/index.js
有一些库使用main时不支持省略扩展名,例如tsconfig-pathsdividab/tsconfig-paths#254

@czy88840616
Copy link
Member

好的。

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Development

No branches or pull requests

2 participants