Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.05 KB

CHANGELOG.md

File metadata and controls

36 lines (23 loc) · 1.05 KB

Release History

0.4.2

Remove import checking for now since it's not working and causes processing to always run.

0.4.1

Fixed a bug with the compile checks causing processing to run on every request, whether necessary or not.

0.4.0

Taking a hint from node-sass-middleware, we now only attempt to process css on requests to actual CSS files. This means that glob source files are no longer necessary, since we only try to process a source CSS file with the same name as the CSS file on the request.

E.g. /public/css/main.css will look for an input file /my/source/dir/main.css` . We don't have to play around with ignoring imports now, since each request will have a single entrypoint.

0.3.0

Now using mkdirp to create the destination directory if it doesn't already exist.

0.2.0

koa-postcss now supports passing globs as src patterns.

0.1.0

Initial release. Automatically runs postcss plugins of your choice over a source CSS file on request, and caches the results in a destination directory.