Skip to content

Commit f2f8589

Browse files
committed
chore: comment
1 parent b56a675 commit f2f8589

File tree

1 file changed

+2
-0
lines changed
  • packages/plugin-rsc/src/plugins

1 file changed

+2
-0
lines changed

packages/plugin-rsc/src/plugins/cjs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import * as rolldown from 'rolldown'
77
import * as esModuleLexer from 'es-module-lexer'
88

99
export function cjsModuleRunnerPlugin(): Plugin[] {
10+
// use-sync-external-store is known to work fine so don't show warning
1011
const warnedPackages = new Set<string>(['use-sync-external-store'])
1112

1213
return [
@@ -79,6 +80,7 @@ function extractPackageKey(id: string): string {
7980
return id
8081
}
8182

83+
// TODO: replace rolldown with single parsing + magic-string
8284
export async function cjsModuleRunnerTransform(
8385
code: string,
8486
config?: rolldown.BuildOptions,

0 commit comments

Comments
 (0)