Skip to content

First version

Choose a tag to compare

@ropean ropean released this 27 Oct 22:34
· 55 commits to main since this release

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