-
Notifications
You must be signed in to change notification settings - Fork 1
Explicitly import index.js
#5
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
Conversation
Because in my tests node cries around: ` code: 'ERR_UNSUPPORTED_DIR_IMPORT',`
Still looking into this, since fixing it to The other way would be @i-am-the-slime Could you double check if |
Just looking at this. Didn't see the notification, sorry. |
I don't know anymore:
|
I could work around it something like this in "test": "spago build && esbuild test.mjs --platform=node --bundle > test.js && node test.js", And
|
So, I mean we can go for commonjs. I'm just a bit afraid there is chance it will break regular projects. |
I think I'm hitting this: |
@andys8 I think the best "solution" is to use the folder imports as on main. None of the other things work properly in one environment or another. |
Because in my tests node cries around (heult rum):
code: 'ERR_UNSUPPORTED_DIR_IMPORT',