@vitejs/plugin-react-swc
Advanced tools
Comparing version 3.2.0 to 3.3.0
{ | ||
"name": "@vitejs/plugin-react-swc", | ||
"description": "Speed up your Vite dev server with SWC", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"author": "Arnaud Barré (https://github.com/ArnaudBarre)", | ||
@@ -30,4 +30,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@swc/core": "^1.3.35" | ||
"@swc/core": "^1.3.42" | ||
} | ||
} |
@@ -367,2 +367,7 @@ /*! Copyright (c) Meta Platforms, Inc. and affiliates. **/ | ||
} | ||
if (window.$RefreshReg$) { | ||
throw new Error( | ||
"React refresh runtime was loaded twice. Maybe you forgot the base path?" | ||
); | ||
} | ||
function getRefreshReg(filename) { | ||
@@ -377,3 +382,3 @@ return (type, id) => register(type, filename + " " + id); | ||
if (isLikelyComponentType(exportValue)) { | ||
register(exportValue, filename + " " + key); | ||
register(exportValue, filename + " export " + key); | ||
} | ||
@@ -424,4 +429,9 @@ } | ||
} | ||
const __hmr_import = (module) => import( | ||
/* @vite-ignore */ | ||
module | ||
); | ||
var refresh_runtime_default = { injectIntoGlobalHook }; | ||
export { | ||
__hmr_import, | ||
createSignatureFunctionForTransform, | ||
@@ -428,0 +438,0 @@ refresh_runtime_default as default, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30730
807
Updated@swc/core@^1.3.42