@navita/vite-plugin 0.0.13 → 0.1.1

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 (3) hide show
  1. package/index.cjs +1 -0
  2. package/index.mjs +1 -0
  3. package/package.json +3 -3
package/index.cjs CHANGED
@@ -93,6 +93,7 @@ function navita(options) {
93
93
  async transform (code, id) {
94
94
  // Bail as early as we can
95
95
  if (!importMap.map((x)=>x.source).some((value)=>code.indexOf(value) !== -1)) {
96
+ renderer.clearCache(id);
96
97
  return null;
97
98
  }
98
99
  const { result , sourceMap } = await renderer.transformAndProcess({
package/index.mjs CHANGED
@@ -72,6 +72,7 @@ function navita(options) {
72
72
  async transform (code, id) {
73
73
  // Bail as early as we can
74
74
  if (!importMap$1.map((x)=>x.source).some((value)=>code.indexOf(value) !== -1)) {
75
+ renderer.clearCache(id);
75
76
  return null;
76
77
  }
77
78
  const { result , sourceMap } = await renderer.transformAndProcess({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navita/vite-plugin",
3
- "version": "0.0.13",
3
+ "version": "0.1.1",
4
4
  "description": "Navita Vite Plugin",
5
5
  "keywords": [
6
6
  "vite",
@@ -17,8 +17,8 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@navita/core": "0.0.13",
21
- "@navita/css": "0.0.13"
20
+ "@navita/core": "0.1.1",
21
+ "@navita/css": "0.1.0"
22
22
  },
23
23
  "license": "MIT",
24
24
  "author": "Eagerpatch",