@vitejs/plugin-react 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -26,7 +26,7 @@ const reactCompRE = /extends\s+(?:React\.)?(?:Pure)?Component/;
26
26
  const refreshContentRE = /\$RefreshReg\$\(/;
27
27
  const preambleCode = `import { injectIntoGlobalHook } from "__BASE__${runtimePublicPath.slice(
28
28
  1
29
- )}"
29
+ )}";
30
30
  injectIntoGlobalHook(window);
31
31
  window.$RefreshReg$ = () => {};
32
32
  window.$RefreshSig$ = () => (type) => type;`;
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ const reactCompRE = /extends\s+(?:React\.)?(?:Pure)?Component/;
10
10
  const refreshContentRE = /\$RefreshReg\$\(/;
11
11
  const preambleCode = `import { injectIntoGlobalHook } from "__BASE__${runtimePublicPath.slice(
12
12
  1
13
- )}"
13
+ )}";
14
14
  injectIntoGlobalHook(window);
15
15
  window.$RefreshReg$ = () => {};
16
16
  window.$RefreshSig$ = () => (type) => type;`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitejs/plugin-react",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "license": "MIT",
5
5
  "author": "Evan You",
6
6
  "description": "The default Vite plugin for React projects",