saus
saus copied to clipboard
Vite SSR/SSG framework that aspires to be a layer for opinionated web frameworks to build upon
Inside your `src/node/routes.ts` module: ```ts import { findPages } from 'saus' // The "/**" suffix is optional. findPages('./pages/**', ['*.mdx?', '*.njk']) ``` Paths are relative to the project root, so the...
https://github.com/vercel/next.js/blob/70e7e58c379a68ac3b73628bae8abb6cf54aacb1/packages/next/server/lib/etag.ts
https://github.com/vercel/next.js/tree/canary/packages/next/server/lib/squoosh meets https://github.com/aleclarson/module-extractor
Currently, all isolated modules are reloaded between page requests. Additionally, this reloading does not take place until the next request comes in. - We should reload eagerly (after each request,...
The `@saus/cloudformation` package needs to empty S3 buckets before deleting them. Saus Deploy definitely needs confirmation prompts before doing such destructive actions, though.
If you change the `region` of a `@saus/cloudformation` stack, it will try creating a request policy that already exists. This is because the deploy target's cache key is tied to...
The `debug` package is 10.7kB (too big!) We can reduce its size impact by 88+% if we copy [`@wbe/debug`](https://github.com/willybrauner/debug) into Saus core and tweak it slightly to avoid the runtime...
```ts if (process.server) { // Do something on server-side only. } if (process.client) { // Do something in web browser only. } ``` (inspired by Nuxt)