Repository navigation
Releases: ropean/inline-assets
Releases · ropean/inline-assets
Release list
Release v1.0.2
Release 1.0.2
📦 NPM Package
npm install @ropean/inline-assets@1.0.2📝 What's Changed
No changelog entry found for version 1.0.2
Full Changelog: CHANGELOG.md
v1.0.1
First version
Added
- Initial release
- Zero-dependency implementation with built-in ANSI color logger
- Dual export mode: Vite plugin + standalone function
- Inline CSS files into
<style>tags - Inline JavaScript files into
<script>tags - Inline SVG files as base64 data URIs (img and link tags)
- Configurable exclusion patterns for selective inlining
- Custom logger interface support
- Automatic cleanup of inlined files and empty directories
- Full TypeScript type definitions
- Comprehensive documentation and examples
Features
- Works with any build tool (Webpack, Rollup, esbuild, etc.)
- Automatic Vite configuration for optimal CSS extraction
- Silent mode for testing and CI/CD environments
- File pattern matching (full path and filename)
- Detailed logging with color-coded output