You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to transpile CJS to ESM until prisma/prisma#5030 is addressed. I'm having a hard time doing so as I can't quite get the pieces together.
Expected Behavior
The commonjs plugin properly detects all named exports
Actual Behavior
No named exports are found
Additional Information
There is a node-backed package that does a pretty solid named exports analysis, which works for my specific use case. I've added a npm run cjs-lex command in the repro to show how it works
The text was updated successfully, but these errors were encountered:
I'm trying to transpile CJS to ESM until prisma/prisma#5030 is addressed. I'm having a hard time doing so as I can't quite get the pieces together.
Expected Behavior
The commonjs plugin properly detects all named exports
Actual Behavior
No named exports are found
Additional Information
There is a node-backed package that does a pretty solid named exports analysis, which works for my specific use case. I've added a
npm run cjs-lex
command in the repro to show how it worksThe text was updated successfully, but these errors were encountered: