@finesoft/front 0.1.15 → 0.1.17

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
@@ -1852,6 +1852,7 @@ function staticAdapter(opts = {}) {
1852
1852
  /* @vite-ignore */
1853
1853
  ssrPath
1854
1854
  );
1855
+ ctx.copyStaticAssets(outputDir, { excludeHtml: true });
1855
1856
  const routePaths = await extractRoutes(ctx, opts);
1856
1857
  const allUrls = [];
1857
1858
  for (const routePath of routePaths) {
@@ -1895,7 +1896,6 @@ function staticAdapter(opts = {}) {
1895
1896
  console.warn(` [static] Failed to render ${url}:`, e);
1896
1897
  }
1897
1898
  }
1898
- ctx.copyStaticAssets(outputDir, { excludeHtml: true });
1899
1899
  console.log(` Static output \u2192 dist/static/
1900
1900
  `);
1901
1901
  }