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 b56a675 commit f2f8589Copy full SHA for f2f8589
packages/plugin-rsc/src/plugins/cjs.ts
@@ -7,6 +7,7 @@ import * as rolldown from 'rolldown'
7
import * as esModuleLexer from 'es-module-lexer'
8
9
export function cjsModuleRunnerPlugin(): Plugin[] {
10
+ // use-sync-external-store is known to work fine so don't show warning
11
const warnedPackages = new Set<string>(['use-sync-external-store'])
12
13
return [
@@ -79,6 +80,7 @@ function extractPackageKey(id: string): string {
79
80
return id
81
}
82
83
+// TODO: replace rolldown with single parsing + magic-string
84
export async function cjsModuleRunnerTransform(
85
code: string,
86
config?: rolldown.BuildOptions,
0 commit comments