postcss-cli
Advanced tools
Changelog
Changes since 3.0.0-beta
CssSyntaxError
in watch mode. v2 behaved this way, but v3.0.0-beta didn't.from
or to
options are set in the config file. Use command line arguments instead.--poll
option. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2.from
option for correct sourcemaps--watch
's glob handlingChangelog
Changes since v2.6.0
--use
accepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.--plugin.key=value
anymore, use a config file.--map
option; use --map
for external sourcemaps, --no-map
to disable all maps. Inline sourcemaps are default.--log
flag; this behavior is now default.--local-plugins
flag; same result can be achieved with postcss.config.js
.watchCSS
handler, plugins that import/rely on other files should use a dependency
message instead.--poll
option; no longer accepts an integer interval
.--ext
(-x
) option allows you to set the file extensions for your output files when using --dir
.--env
allows you to set NODE_ENV
in a cross-platform manner.Migration guide for upgrading from v2: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
Changelog
2.5.2 / 2016-04-18