Alec Larson
Alec Larson
https://github.com/vitejs/vite/issues/5120
At build time, separate critical CSS from the rest. https://github.com/addyosmani/critical
These shouldn't be added unless `esbuild.target` requires it.
The `magic-string` package is 19.5kb minified, and we don't actually need all those features. For example, it can produce sourcemaps, but SSR bundles work with pre-compiled JS modules, so there's...
This clears the cache that `defineStateModule` loaders use. You can call `clearCache` in the `then` callback of a renderer to ensure `defineStateModule` loaders are called on each render. Or you...
Useful for compile-time data generation used in declaring routes, paths, etc. ```ts // src/node/routes.ts import { preval } from 'saus' // Run this module at compile-time. Unwrap its default export....
This would allow the server to be generated by another tool, like [Viteflare](https://github.com/alloc/viteflare), without intermediate files. The bundle's output path would have to be defined explicitly via the `saus bundle...
### Feature description - When a module with `.client` before its file extension is imported, the importer (and its importers, and so on) is marked as a "server-only" module. -...
It would be cool to see if this works OOTB or if Saus needs to be made compatible somehow. https://github.com/antfu/vite-plugin-pwa
Avoid re-rendering pages whose dependencies have not changed.