Skip to content

Commit 89ba8ce

Browse files
authored
fix(plugin-react): inconsistent error warning (#5031)
1 parent 4ab4592 commit 89ba8ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-react/src/fast-refresh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let prevRefreshSig;
3737
3838
if (!window.__vite_plugin_react_preamble_installed__) {
3939
throw new Error(
40-
"@vitejs/plugin-react-refresh can't detect preamble. Something is wrong. " +
40+
"@vitejs/plugin-react can't detect preamble. Something is wrong. " +
4141
"See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201"
4242
);
4343
}

0 commit comments

Comments
 (0)