@vitejs/plugin-rsc 0.5.18 → 0.5.19

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,5 +1,5 @@
1
1
  import "./cjs-D2v1gYgq.js";
2
- import { r as vitePluginRsc, t as getPluginApi } from "./plugin-Cp12dr0Z.js";
2
+ import { r as vitePluginRsc, t as getPluginApi } from "./plugin-Xwi_Uxiv.js";
3
3
  import "./transforms-B2EJTNXG.js";
4
4
  import "./rpc-EIuXyQpO.js";
5
5
 
@@ -394,13 +394,16 @@ function scanBuildStripPlugin({ manager }) {
394
394
  name: "rsc:scan-strip",
395
395
  apply: "build",
396
396
  enforce: "post",
397
- transform: { async handler(code, _id, _options) {
398
- if (!manager.isScanBuild) return;
399
- return {
400
- code: await transformScanBuildStrip(code),
401
- map: { mappings: "" }
402
- };
403
- } }
397
+ transform: {
398
+ filter: { id: { exclude: exactRegex("\0rolldown/runtime.js") } },
399
+ async handler(code, _id, _options) {
400
+ if (!manager.isScanBuild) return;
401
+ return {
402
+ code: await transformScanBuildStrip(code),
403
+ map: { mappings: "" }
404
+ };
405
+ }
406
+ }
404
407
  };
405
408
  }
406
409
  const importGlobRE = /\bimport\.meta\.glob(?:<\w+>)?\s*\(/g;
package/dist/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./cjs-D2v1gYgq.js";
2
- import { i as vitePluginRscMinimal, n as transformRscCssExport, r as vitePluginRsc, t as getPluginApi } from "./plugin-Cp12dr0Z.js";
2
+ import { i as vitePluginRscMinimal, n as transformRscCssExport, r as vitePluginRsc, t as getPluginApi } from "./plugin-Xwi_Uxiv.js";
3
3
  import "./transforms-B2EJTNXG.js";
4
4
  import "./rpc-EIuXyQpO.js";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitejs/plugin-rsc",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "description": "React Server Components (RSC) support for Vite.",
5
5
  "keywords": [
6
6
  "react",