create-nextify 0.1.20 → 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 +1 -1
- package/package.json +1 -1
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>';
|