This project adheres to Semantic Versioning.
- Fixed
.cjs
mixin support (by @pridyok). - Fixed
.mjs
mixin support.
- Added
single-arg()
support (by @pciarach). - Removed Node.js 16 and 14 support.
- Moved to
postcss-simple-vars
7.
- Fixed hot reload (by Andrey Grandilevskiy).
- Fixed Windows support (by Andrey Grandilevskiy).
- Fixed at-rules in
@mixin-content
in function mixins (by Vasily Polovnyov). - Updated
postcss-js
.
- Reduced package size.
- Moved to sync APIs (by Charles Suh).
- Moved from
globby
tofast-glob
to reduce dependencies.
- Added
dir-dependency
message (by @Eddort).
- Removed Node.js 10 support.
- Added better error message on
(
in mixin name.
- Fixed file pattern on Windows (by Gene Alyson Fortunado Torcende).
- Fixed
postcss-js
loading (by Paul Welsh).
- Added funding links.
- Moved to PostCSS 8.
- Moved
postcss
topeerDependencies
. - Fix docs (by Frank Showalter).
- Fix plugin to work with webpack watch (by @Mesqalito).
- Fix source map for mixins from SugarSS and CSS files.
- Update
sugarss
andpostcss-simple-vars
(by @ambar).
- Add
@mixin-content
support for object mixins.
- Add
parent
todependency
message (by Keisuke Kan). - Throw error on wrong mixin type.
- Pass
dependency
message for every loaded mixin files forpostcss-loader
.
- Fix multiple
@mixin-content
usage.
- Use PostCSS 6.0.
- Fix support nested function mixins (by Lam Tran).
- Add
add-mixin
alias for@mixin
for Sass migration process.
- Do not use asynchronous API if it is unnecessary.
- Use SugarSS 0.2.
- Add
.pcss
extension support inmixinsDir
.
- Add SugarSS support in
mixinsDir
.
- Use globby 6 and PostCSS 5.1.
- Use
postcss-simple-vars
3.0 with special syntax for comment variables and nested variables support.
- Fix default argument values in function mixins.
- Fix Windows support for
mixinsFiles
andmixinsDir
(by Hugo Agbonon).
- Remove space-separated parameters. They were depreacted in 0.3.
- Fix
@mixin-content
usage with empty body.
- Fix default arguments in nested mixins.
- Fix
@mixin-content
for declarations content.
- Add nested mixins support.
- Use
postcss-js
to convert objects into CSS in JS mixins. - Case insensitive mixin file search.
- Async CSS mixin files loading (by Jed Mao).
- Add CSS files support for mixins from dir (by Jed Mao).
mixinsDir
loads JSON mixins too (by Jed Mao).
- Do not throw error on missed mixin dir (by Bogdan Chadkin).
- Use async plugin API (by Bogdan Chadkin).
- Fix using relative URL in
mixinsDir
(by Bogdan Chadkin).
- Use PostCSS 5.0 API.
- Add
mixinsFiles
option (by Jed Mao).
- Change syntax to comma separated arguments.
Use:
@mixin name 1, 2
instead of@mixin name 1 2
. - Add default value for arguments.
- Add block mixins support.
- Support PostCSS 4.1 API.
- Convert all JS mixins values to string.
- Use
postcss-simple-vars
0.2.
- Initial release.