v2.0.0
Fixed
- d35fe66 remove
rootDir
from cache key
Breaking
- fea1e8d default to regular CSS (CSS Modules are now opt-in)
Upgrade Guide
So far CSS Modules were enabled by default. They are now opt-in. Add a configuration file called jesttransformcss.config.js
at your project root to and add the following content to activate them:
// jesttransformcss.config.js
module.exports = {
modules: true
};
Notice that you can also pass a function to modules
to determine the mode depending on the file. See the README for more information.