All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-08-20
- Initial release of postcss-inline-extract
- Extract inline styles from HTML
styleattributes - Support for multiple selector generation strategies:
class: Use existing class attributes (.className)id: Use existing id attributes (#idName)hash: Generate random hash selectors (.abc123)
- Optional extraction from
<style>tags viastyleTagsoption - Automatic property merging for duplicate selectors
- Configurable CSS indentation via
indentoption - TypeScript support with full type definitions
- Support for compound selectors from multiple classes
- Comprehensive test suite with 43 test cases using Vitest
- PostCSS Plugin Guidelines compliance
- Proper error handling with PostCSS error reporting
- Built with TypeScript targeting ES2018
- Uses
node-html-parserfor HTML parsing - PostCSS as peer dependency
- Rollup + esbuild for bundling
- ESLint with strict TypeScript configuration
- Vitest for testing with coverage reporting
- GitHub Actions CI workflow for automated testing