-
Notifications
You must be signed in to change notification settings - Fork 205
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
How to not remove trailing '/index' ? #411
Comments
I believe we do remove What situation makes you willing to have an option to decide this? |
I found this feature when run code in node environment using node esm. I believe that node doesn't take this as a default behavior. In the API document (#esm_differences_between_es_modules_and_commonjs):
|
Interesting, so it's a bit specific to esm I believe. |
Is there any options that can control whether to remove trailing '/index' in path ?
import a from 'packages/a/index'
The text was updated successfully, but these errors were encountered: