Alec Larson

Results 407 issues of Alec Larson

https://github.com/vitejs/vite/issues/5120

At build time, separate critical CSS from the rest. https://github.com/addyosmani/critical

enhancement
backlog

These shouldn't be added unless `esbuild.target` requires it.

enhancement
saus build
saus bundle

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

enhancement
runtime
backlog

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

enhancement
runtime
backlog

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

enhancement
roadmap

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

roadmap
backlog

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

enhancement
backlog

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

enhancement
backlog

Avoid re-rendering pages whose dependencies have not changed.

enhancement
saus build
backlog
saus bundle