create-nextify 0.1.19 → 0.1.21

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/devServer.js CHANGED
@@ -62,7 +62,7 @@ function buildHtmlShell(routePath) {
62
62
  const candidates = ${candidates};
63
63
  async function loadPage() {
64
64
  let mod;
65
- for (const c of candidates) { try { mod = await import(c); break; } catch {} }
65
+ for (const c of candidates) { try { mod = await import(/* @vite-ignore */c); break; } catch {} }
66
66
  const root = document.getElementById('root');
67
67
  if (!mod?.default) {
68
68
  root.innerHTML = '<div style="font-family:monospace;padding:2rem;color:#e53e3e"><h2>404 — Página não encontrada</h2></div>';
@@ -158,4 +158,4 @@ export async function startDevServer(options = {}) {
158
158
  });
159
159
  return { server, vite };
160
160
  }
161
- startDevServer();
161
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextify",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "CLI para criar aplicações Nextify.js",
5
5
  "type": "module",
6
6
  "bin": {