@vizejs/vite-plugin 0.0.1-alpha.86 → 0.0.1-alpha.88

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.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -385,7 +385,7 @@ function vize(options = {}) {
385
385
  let realPath = id.slice(5);
386
386
  if (realPath.endsWith(".ts")) realPath = realPath.slice(0, -3);
387
387
  logger.log(`resolveId: redirecting stale vize: ID to ${realPath}`);
388
- if (realPath.includes("node_modules")) return realPath;
388
+ if (realPath.includes("node_modules")) return this.resolve(realPath, importer, { skipSelf: true });
389
389
  return this.resolve(realPath, importer, { skipSelf: true });
390
390
  }
391
391
  if (id === VIRTUAL_CSS_MODULE) return RESOLVED_CSS_MODULE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.0.1-alpha.86",
3
+ "version": "0.0.1-alpha.88",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "publishConfig": {
6
6
  "provenance": true,
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "tinyglobby": "^0.2.0",
47
- "@vizejs/native": "0.0.1-alpha.86"
47
+ "@vizejs/native": "0.0.1-alpha.88"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "tsdown",