quilt
quilt copied to clipboard
Use import maps where supported to reduce cache-busting effect of native ESModule imports
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap
The main question is: how to do this for async modules, without needing to include the manifest of every async module for each server render...
- https://github.com/rails/importmap-rails
- https://github.com/guybedford/es-module-shims
AI thread for a Rollup plugin to generate this automatically in Rollup: https://claude.ai/chat/3b4e6173-e7aa-4134-97c2-5b724f331ec3