assets@0.4.0
📦 remixView on GitHub →
✨ 2 features🐛 1 fixes🔧 1 symbols
Summary
This release introduces the ability to serve leaf file assets through the asset server and improves script import handling within node_modules symlinks. Dependencies were also updated.
✨ New Features
- Added support for serving configured leaf file assets via a new `files` option in `createAssetServer()`.
- Relative CSS `url()` references are now resolved through the asset server, rewriting supported file assets to asset server URLs and surfacing errors for missing or unsupported files.
🐛 Bug Fixes
- Preserved `node_modules` package symlink identity paths when rewriting script imports, ensuring modules are read, cached, and invalidated through their canonical real paths.