File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const refreshContentRE = /\$RefreshReg\$\(/
66// NOTE: this is exposed publicly via plugin-react
77export const preambleCode = `import { injectIntoGlobalHook } from "__BASE__${ runtimePublicPath . slice (
88 1 ,
9- ) } "
9+ ) } ";
1010injectIntoGlobalHook(window);
1111window.$RefreshReg$ = () => {};
1212window.$RefreshSig$ = () => (type) => type;`
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Add explicit semicolon in preambleCode [ #485 ] ( https://github.com/vitejs/vite-plugin-react/pull/485 )
6+
7+ This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
8+
59## 0.2.0 (2025-05-23)
610
711### Add ` filter ` for rolldown-vite [ #470 ] ( https://github.com/vitejs/vite-plugin-react/pull/470 )
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Add explicit semicolon in preambleCode [ #485 ] ( https://github.com/vitejs/vite-plugin-react/pull/485 )
6+
7+ This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
8+
59## 3.10.0 (2025-05-23)
610
711### Add ` filter ` for rolldown-vite [ #470 ] ( https://github.com/vitejs/vite-plugin-react/pull/470 )
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Add explicit semicolon in preambleCode [ #485 ] ( https://github.com/vitejs/vite-plugin-react/pull/485 )
6+
7+ This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
8+
59## 4.5.0 (2025-05-23)
610
711### Add ` filter ` for rolldown-vite [ #470 ] ( https://github.com/vitejs/vite-plugin-react/pull/470 )
You can’t perform that action at this time.
0 commit comments