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
Copy file name to clipboardExpand all lines: packages/plugin-rsc/src/plugin.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -869,12 +869,12 @@ function getEntrySource(
869
869
name: string='index',
870
870
){
871
871
constinput=config.build.rollupOptions.input
872
-
assert(input)
873
872
assert(
874
873
typeofinput==='object'&&
875
874
!Array.isArray(input)&&
876
875
nameininput&&
877
876
typeofinput[name]==='string',
877
+
`[vite-rsc:getEntrySource] expected 'build.rollupOptions.input' to be an object with a '${name}' property that is a string, but got ${JSON.stringify(input)}`,
0 commit comments