@navita/vite-plugin 2.0.4 → 2.0.5

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/index.cjs CHANGED
@@ -74,7 +74,7 @@ function navita(options) {
74
74
  renderer.clearCache(id);
75
75
  return null;
76
76
  }
77
- const { result , sourceMap , dependencies } = await renderer.transformAndProcess({
77
+ const { result, sourceMap, dependencies } = await renderer.transformAndProcess({
78
78
  content: code,
79
79
  filePath: id
80
80
  });
@@ -126,7 +126,7 @@ function navita(options) {
126
126
  }
127
127
  clearTimeout(updateTimer);
128
128
  updateTimer = setTimeout(()=>{
129
- const { moduleGraph , ws } = server;
129
+ const { moduleGraph, ws } = server;
130
130
  const mod = moduleGraph.getModuleById(RESOLVED_VIRTUAL_MODULE_ID);
131
131
  if (mod) {
132
132
  moduleGraph.invalidateModule(mod);
package/index.mjs CHANGED
@@ -72,7 +72,7 @@ function navita(options) {
72
72
  renderer.clearCache(id);
73
73
  return null;
74
74
  }
75
- const { result , sourceMap , dependencies } = await renderer.transformAndProcess({
75
+ const { result, sourceMap, dependencies } = await renderer.transformAndProcess({
76
76
  content: code,
77
77
  filePath: id
78
78
  });
@@ -124,7 +124,7 @@ function navita(options) {
124
124
  }
125
125
  clearTimeout(updateTimer);
126
126
  updateTimer = setTimeout(()=>{
127
- const { moduleGraph , ws } = server;
127
+ const { moduleGraph, ws } = server;
128
128
  const mod = moduleGraph.getModuleById(RESOLVED_VIRTUAL_MODULE_ID);
129
129
  if (mod) {
130
130
  moduleGraph.invalidateModule(mod);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navita/vite-plugin",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Navita Vite Plugin",
5
5
  "keywords": [
6
6
  "vite",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@navita/core": "1.0.1",
26
- "@navita/css": "0.2.0"
26
+ "@navita/css": "0.2.1"
27
27
  },
28
28
  "license": "MIT",
29
29
  "author": "Eagerpatch",
package/remix.cjs CHANGED
@@ -30,7 +30,7 @@ let cssFileName;
30
30
  function navitaRemix(options) {
31
31
  let isProduction = false;
32
32
  let hasEmittedCss = false;
33
- const { renderChunk , ...navitaVite } = index.navita(options);
33
+ const { renderChunk, ...navitaVite } = index.navita(options);
34
34
  return [
35
35
  navitaVite,
36
36
  {
package/remix.mjs CHANGED
@@ -9,7 +9,7 @@ let cssFileName;
9
9
  function navitaRemix(options) {
10
10
  let isProduction = false;
11
11
  let hasEmittedCss = false;
12
- const { renderChunk , ...navitaVite } = navita(options);
12
+ const { renderChunk, ...navitaVite } = navita(options);
13
13
  return [
14
14
  navitaVite,
15
15
  {