@vizejs/vite-plugin 0.126.0 → 0.128.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -611,8 +611,8 @@ async function resolveIdHook(ctx, state, id, importer, options) {
611
611
  const request = classifyVitePluginRequest(id);
612
612
  if (id.startsWith("\0")) {
613
613
  if (request.isVizeVirtual) {
614
- if (isSsrRequest && !request.isVizeSsrVirtual && request.vizeVirtualPath) return toVirtualId(request.vizeVirtualPath, true);
615
- return null;
614
+ if (isSsrRequest && !request.isVizeSsrVirtual && request.vizeVirtualPath) return `${toVirtualId(request.vizeVirtualPath, true)}${request.querySuffix}`;
615
+ return id;
616
616
  }
617
617
  if (id.startsWith("\0vize:")) {
618
618
  const rawPath = id.slice(6);
@@ -827,7 +827,7 @@ function getBoundaryPlaceholderCode(realPath, ssr) {
827
827
  return null;
828
828
  }
829
829
  function getOxcDumpPath(root, realPath) {
830
- const dumpDir = path.resolve(root || process.cwd(), "__agent_only", "oxc-dumps");
830
+ const dumpDir = path.resolve(root || process.cwd(), "node_modules", ".vize", "oxc-dumps");
831
831
  fs.mkdirSync(dumpDir, { recursive: true });
832
832
  return path.join(dumpDir, `vize-oxc-error-${path.basename(realPath)}.ts`);
833
833
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.126.0",
3
+ "version": "0.128.0",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -37,9 +37,9 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@vizejs/native": "0.126.0",
40
+ "@vizejs/native": "0.128.0",
41
41
  "tinyglobby": "0.2.16",
42
- "vize": "0.126.0"
42
+ "vize": "0.128.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "25.7.0",