- postcss-use now uses commas instead of semicolons to separate options in order to support PostCSS 6.
- Removed: Dependencies on
balanced-match
andlodash.isplainobject
. - Updated:
postcss
from 5 to 6. - Updated:
resolve-from
from 2 to 4.
- postcss-use now accepts an object of default options to supply to plugins passed to PostCSS via the @use rule (thanks to @rexxars).
- postcss-use will now throw a more descriptive error when failing to load a
plugin via the
resolveFromFile
option (thanks to @rexxars). - Now compiled with Babel 6.
- Added
resolveFromFile
option (thanks to @rexxars).
- postcss-use no longer uses the old
Node#removeSelf
method from PostCSS 4, replaced withNode#remove
(thanks to @TrySound).
- Corrected repository link (thanks to @MoOx).
- Reduced size of package with npm files filter (thanks to @TrySound).
- Fixed lint errors.
- Changes: Use PostCSS 5.0 API(Fix#5).
- Fixes a behaviour where plugins would be loaded/unloaded globally instead of per-file.
- Adds
'*'
as a legal value tomodules
, to lift the restrictions on whitelisting module loading. This is to enable use cases for postcss-use outside browser environments.
- Adds a more CSS-like block syntax -
@use {option: value}
.
- Fixes a crash when multiple options were specified.
- Fixes a bug where postcss-use was not properly injecting plugins into the processor instance from a plugin pack.
- Initial release.