Skip to content

The new API

Compare
Choose a tag to compare
@sullenor sullenor released this 24 Feb 21:50
· 45 commits to master since this release

Features:

— Added ignore option, so you can ignore particular files from processing. Supports globs, regexp and functions.
— Hook is not attached automatically now, so you need to make a function call first to make it work.
— Added possibility to use particular files as presets. In that case hook will be attached automatically and all options should be described in the cmrh.conf.js file. To use it, you should run: require('css-modules-require-hook/preset'). I hope it will solve the babel issue.
— Some internal updates.