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 bb5f826 commit c7295d8Copy full SHA for c7295d8
packages/plugin-rsc/src/plugins/validate-import.ts
@@ -67,8 +67,9 @@ export function validateImportPlugin(): Plugin {
67
}
68
},
69
70
- // for build, use PluginContext.getModuleInfo during generateBundle
71
- generateBundle() {
+ // for build, use PluginContext.getModuleInfo during buildEnd.
+ // rollup shows multiple errors if there are other build error from `buildEnd(error)`.
72
+ buildEnd() {
73
if (this.environment.mode === 'build') {
74
const serverOnly = getImportChainBuild(
75
this,
0 commit comments