Repository navigation
fix: import removed from export map - #585
Conversation
Is there an issue link? |
|
So far I've opened a Nitro issue with a very minimal reproduction using I haven't reported to Rollup because it might be related to how they use the plugin. |
|
Thanks, let's see how they repond first. |
|
I've narrowed this down to two seperate bugs, one with @vercel/nft and another with nitropack. Here is the other: This last one can be worked around via a |
|
@fisker any downside if we add import? I don't mind it if it helps for bypassing bugs from other tools. |
There shouldn't be. |
|
This would give me great reason to push to upgrade to v7 and drop Node v18 support 🎉 |
|
Node 18 was already dropped. |
commit: |
|
v7.2.0 is released. |
6.1.0 dropped the
importcondition that 5.0.0/6.0.0 had. Whilemodule-sync/defaultstill point at the identical file, tools that don't yet recognizemodule-sync(confirmed:@rollup/plugin-commonjs, and by extension Nitro/Vinxi's standalone-output tracing) silently fail to resolve the package.I am attempting to fix this in
@rollup/plugin-commonjsbut includingimportwill fix this for users before the root cause fix trickles down.