Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: css-modules/css-modules-require-hook

Peer-Dependencies update

12 Oct 19:11
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading
1.0.11
version update
Loading

API update

05 Oct 19:47
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Featuring new options:

  • append array — adds new plugins to the end of the PostCSS pipeline.
  • prepend array — 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

Loading

API updates

14 Sep 18:50
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Added filename argument to the [pre]processCss functions:

hook({
 processCss: (css, filename) => { /* ... */ }
});
Loading

Bug fix related to the "extensions" option

11 Sep 19:02
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading
Loading

New features

10 Sep 20:40
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Features:

  • extensions - opportunity for adding custom extentions
  • preprocessCss - opportunity for preprocessing styles

prs: #33, #32

Loading

New features and bug fixes

03 Sep 19:13
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Features:

  • the require hook outputs warnings from the postcss plugins
  • possibility to provide the to option to the lazyResult instance #24
  • fixed non-relative imports issue #23
  • readme updated #20, #22
  • peerDependencies version update #25
Loading

API updates

28 Aug 21:36
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Added new options for the better experience.

  • createImportedName
  • generateScopedName
  • processCss p
  • rootDir root d
  • use u
Loading

Non-relative imports resolve to node_modules

12 Aug 23:22
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading
Loading

Postcss dependencies moved to peerDependencies

09 Aug 19:01
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading
Loading

Code quality improvement

09 Aug 17:17
@mightyaleksey mightyaleksey
Compare
Choose a tag to compare
Loading

Added eslint, isparta and precommit hooks: #7, #9.
Few inner updates: global tokens cache and global root directory.

Loading

AltStyle によって変換されたページ (->オリジナル) /