Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Webpack loader to automatically bind css-modules to classnames

License

Notifications You must be signed in to change notification settings

ueno-llc/next-classnames-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

next-classnames-loader

npm version

Based on classnames-loader, this webpack loader is made to fix an issue related to next. Depending where you created folder inside next e.g. src/components, src/pages/home/components, the classnames-loader won't get the same absolute path and will fail to load classnames/bind.

Thanks to @itsmepetrov for the original classnames-loader, checkout the original readme for details and examples.

Installation

npm install next-classnames-loader -ED

License

MIT

About

Webpack loader to automatically bind css-modules to classnames

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%