@devwaren/vanilla-ts 1.0.23 → 1.0.24

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.cjs CHANGED
@@ -37,7 +37,7 @@ import type { Module, Component } from "./tsrouter.d";
37
37
 
38
38
  // -----------------------------
39
39
  ${E?`export const NotFound = async (DOM: HTMLElement) => {
40
- const mod: import("../gen/tsrouter.d").Module = await import("../pages/${t.relative(s,E.file).replace(/\\/g,"/").replace(/\\.ts$/,"")}");
40
+ const mod = await import("../pages/${t.relative(s,E.file).replace(/\\/g,"/").replace(/\\.ts$/,"")}");
41
41
  return mod.default(DOM);
42
42
  };`:"export const NotFound = (DOM: HTMLElement) =>\n useTSElements(DOM, html`<h1>404 - Page Not Found</h1>`);"}
43
43
 
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ import type { Module, Component } from "./tsrouter.d";
37
37
 
38
38
  // -----------------------------
39
39
  ${h?`export const NotFound = async (DOM: HTMLElement) => {
40
- const mod: import("../gen/tsrouter.d").Module = await import("../pages/${e.relative(r,h.file).replace(/\\/g,"/").replace(/\\.ts$/,"")}");
40
+ const mod = await import("../pages/${e.relative(r,h.file).replace(/\\/g,"/").replace(/\\.ts$/,"")}");
41
41
  return mod.default(DOM);
42
42
  };`:"export const NotFound = (DOM: HTMLElement) =>\n useTSElements(DOM, html`<h1>404 - Page Not Found</h1>`);"}
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devwaren/vanilla-ts",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Vanilla Framework-less TypeScript hooks for SPA development.",
5
5
  "author": "Waren Arapoc Gador",
6
6
  "license": "MIT",