@vitejs/plugin-rsc 0.5.8 → 0.5.9

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./transforms-BcLQCXiC.js";
2
2
  import "./rpc-CRpYrgKq.js";
3
- import { r as vitePluginRsc, t as getPluginApi } from "./plugin-COe11H-Q.js";
3
+ import { r as vitePluginRsc, t as getPluginApi } from "./plugin-YfacRKGB.js";
4
4
  import "./cjs-DHD_0drE.js";
5
5
 
6
6
  export { vitePluginRsc as default, getPluginApi };
@@ -285,7 +285,7 @@ function vitePluginFindSourceMapURL() {
285
285
  }
286
286
  async function findSourceMapURL(server, filename, environmentName) {
287
287
  if (filename.startsWith("file://")) {
288
- filename = fileURLToPath(filename);
288
+ filename = slash(fileURLToPath(filename));
289
289
  if (isFileLoadingAllowed(server.config, filename) && fs.existsSync(filename)) {
290
290
  const content = fs.readFileSync(filename, "utf-8");
291
291
  return {
package/dist/plugin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./transforms-BcLQCXiC.js";
2
2
  import "./rpc-CRpYrgKq.js";
3
- import { i as vitePluginRscMinimal, n as transformRscCssExport, r as vitePluginRsc, t as getPluginApi } from "./plugin-COe11H-Q.js";
3
+ import { i as vitePluginRscMinimal, n as transformRscCssExport, r as vitePluginRsc, t as getPluginApi } from "./plugin-YfacRKGB.js";
4
4
  import "./cjs-DHD_0drE.js";
5
5
 
6
6
  export { vitePluginRsc as default, getPluginApi, transformRscCssExport, vitePluginRscMinimal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitejs/plugin-rsc",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "React Server Components (RSC) support for Vite.",
5
5
  "keywords": [
6
6
  "vite",