We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a0fadf commit 4e7c0c3Copy full SHA for 4e7c0c3
packages/plugin-rsc/src/plugins/cjs.ts
@@ -54,7 +54,6 @@ export function cjsModuleRunnerPlugin(): Plugin[] {
54
// TODO: can we use cjs-module-lexer to properly define named exports?
55
// for re-exports, we need to eagerly transform dependencies though.
56
// https://github.com/nodejs/node/blob/f3adc11e37b8bfaaa026ea85c1cf22e3a0e29ae9/lib/internal/modules/esm/translators.js#L382-L409
57
- // TODO: live binding?
58
output.append(`__vite_ssr_exportAll__(module.exports)`)
59
return {
60
code: output.toString(),
0 commit comments