Releases: css-modules/css-modules-require-hook
Releases · css-modules/css-modules-require-hook
Peer-Dependencies update
1.0.11 version update
API update
Featuring new options:
appendarray — adds new plugins to the end of the PostCSS pipeline.prependarray — adds new plugins to the beginning of the PostCSS pipeline.
So now, you don't need to use the use option to setup the whole list of plugins. Try to use append or prepend options which extend the list of the core plugins with the new ones.
So you may use aliases for the core plugins (like generateScopedName) and provide additional plugins with the append and prepend options simultaneously.
Also added few basic examples of usage to the readme. Enjoy
API updates
Added filename argument to the [pre]processCss functions:
hook({
  processCss: (css, filename) => { /* ... */ }
});Bug fix related to the "extensions" option
New features
New features and bug fixes
API updates
Added new options for the better experience.
createImportedNamegenerateScopedNameprocessCssprootDirrootduseu
Non-relative imports resolve to node_modules
Postcss dependencies moved to peerDependencies
See the Issue: #5