Alec Larson
Alec Larson
This proposal could be supported in a backwards compatible manner by simply defining `0` and `1` on the StateModule object, in addition to the pre-existing `get` and `load` methods.
This could probably work on the client side too
This warning is likely a clue: ``` Could not determine entry point from rollupOptions or html files. Skipping dependency pre-bundling. ```
Apparently this output is faster at runtime, but we should still make sure it's only injected once per chunk. > This syntax is transformed when targeting V8-based runtimes because it’s...
This is also a problem for SSR bundles if a dependency happens to be built with Esbuild.
Should be able to rewrite references to duplicate helper functions in the `renderChunk` plugin step. This happens after tree-shaking but before minification, so the unused helper functions will be dropped.
This is best left to an external plugin, but we could eventually have a `@saus/critical-css` package if it makes sense.
Does it work without `manifest: true`? Are you using dynamic `import()`?
Are you using multiple paths in `rollupOptions.input`? Trying to understand why that `_vendor.17446dc3.js` import exists.
Hmm, I wouldn't expect a vendor chunk if you only have one `input`. Can you provide a git repository that reproduces the issue?