Re:Show HN: A no-build fullstack SSR TypeScript web framework
by IshKebab on Thursday February 13, 2025 @02:47AM
(#43033675)
Thanks for the reply! I don't quite understand why you want to avoid a build step. Normally when people talk about that what they really mean is they don't want to have to run a build command, but you still have that.
To put it another way, what is the downside of Fresh's build step that you avoid?
Re:Show HN: A no-build fullstack SSR TypeScript web framework
by thesephi on Thursday February 13, 2025 @03:36AM
(#43033963)
Ah please don't get me wrong, there's no build command in my example. The command to start the app directly is: `deno src/main.ts`
and `main.ts` is an original source file, it's not a "bundle" of many files together, like in other setups with build config (tsconfig, webpack config, babel config, etc.)
I wouldn't call Fresh build step a downside either. With build step, there comes a build config (https://fresh.deno.dev/docs/concepts/server-configuration#-b...).
Imo, Fresh' build config is already way simpler than the "traditional" webpack approach (https://deno.com/blog/node-config-hell). Here in FullSoak, I only wish to push this boundary further ie. "no build config at all".
When I wrote "no build", I simply meant that we do not bundle the whole app into a single file.
Fresh is indeed very close to what I'm trying to explore here, yet if I understand correctly about Fresh, we still need a real build step: https://fresh.deno.dev/docs/concepts/server-configuration#-b...
Disclaimer: I have nothing against build steps, I just wish to explore an alternative approach where we completely do without them!