PostCSS is a small utility that can create something that mimics JavaScript's source maps feature, but for CSS code.
Just like the JS version, a CSS source map is a way to map minified code back to its uncompressed state.
CSS source maps will allow developers to easily modify production-ready CSS code that usually gets delivered in a minified form, making modifications at runtime without beautifying the code in advance.
PostCSS is capable for rendering its own source map for the changes developers make, and even also update a source map from previous steps.
The library leaves code formatting in its original form, and also support common pre-processors like Stylus or SASS.
What is new in this release:
- Added source.input to Root too.
What is new in version 5.0.12:
- Added source.input to Root too.
What is new in version 4.1.4:
- Added source.input to Root too.
What is new in version 4.0.6:
- Added source.input to Root too.
What is new in version 3.0.0:
- Child nodes array is now in childs property, instead of decls and rules.
- map.inline and map.sourcesContent options are now true by default.
- Fix iterators (each, insertAfter) on children array changes.
- Use previous source map to show origin source of CSS syntax error.
- Use 6to5 ES6 compiler, instead of ES6 Transpiler.
- Use code style for manually added rules from existing rules.
- Use from option from previous source map file field.
- Set to value to from if to option is missing.
- Use better node source name when missing from option.
- Show a syntax error when ; is missed between declarations.
- Allow to pass PostCSS instance or list of plugins to use() method.
- Allow to pass Result instance to process() method.
- Trim Unicode BOM on source maps parsing.
- Parse at-rules without spaces like @import"file".
- Better previous sourceMappingURL annotation comment cleaning.
- Do not remove previous sourceMappingURL comment on map.annotation: false.
- Parse nameless at-rules in Safe Mode.
- Fix source map generation for nodes without source.
- Fix next child before if Root first child got removed.
What is new in version 2.2.5:
- Fixed source map with BOM marker support.
- Fixed source map paths.
Comments not found