Skip to content

Commit 7305255

Browse files
committed
Refactor
1 parent 222950d commit 7305255

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-router-dev/vite/rsc/plugin.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export function reactRouterRSCVitePlugin(): Vite.PluginOption[] {
282282
},
283283
(() => {
284284
let logged = false;
285-
function logExperimentalInfo() {
285+
function logExperimentalNotice() {
286286
if (logged) return;
287287
logged = true;
288288
logger.info(
@@ -292,10 +292,10 @@ export function reactRouterRSCVitePlugin(): Vite.PluginOption[] {
292292
);
293293
}
294294
return {
295-
name: "react-router/rsc/experimental-warning",
295+
name: "react-router/rsc/log-experimental-notice",
296296
sharedDuringBuild: true,
297-
buildStart: logExperimentalInfo,
298-
configureServer: logExperimentalInfo,
297+
buildStart: logExperimentalNotice,
298+
configureServer: logExperimentalNotice,
299299
};
300300
})(),
301301
{

0 commit comments

Comments
 (0)