alephjs/aleph.js

The target of build is wrong

Decodetalkers opened this issue · 4 comments

I run the deno tasks build , and it creates a fold named dist. However , there is no index.html in the fold, even there is a file names main.tsx..there maybe something wrong with the build command?

SSG is dropped in the new version! So, we can't generate a static site. Maybe later, the developers will give us some workaround.

ije commented

The goal of the new version is serverless first, the build command builds JS for serverless platform like Deno Deploy or Cloudflare that doesn't support dynamic import, also pre-build JS for client(browser). In your own deno env, you can run deno task start after build.

The goal of the new version is serverless first, the build command builds JS for serverless platform like Deno Deploy or Cloudflare that doesn't support dynamic import, also pre-build JS for client(browser). In your own deno env, you can run deno task start after build.

I think SSG is needed.. I want to use aleph.js in tauri and electrion. there ssg is needed..

if there's an issue for SSG to subscribe to... i'd love to subscribe! i just re-created a small app in aleph "knowing" it supported SSG, only find this issue!