aleph.js icon indicating copy to clipboard operation
aleph.js copied to clipboard

The target of build is wrong

Open Decodetalkers opened this issue 2 years ago • 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?

Decodetalkers avatar Apr 26 '22 04:04 Decodetalkers

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

heinthanth avatar Apr 26 '22 05:04 heinthanth

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.

ije avatar Apr 26 '22 08:04 ije

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..

Decodetalkers avatar Apr 26 '22 08:04 Decodetalkers

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!

cdaringe avatar Jan 18 '23 05:01 cdaringe