next-classnames-loader

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    9
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i next-classnames-loader

Weekly Downloads

9

Version

1.0.3

License

MIT

Unpacked Size

3.19 kB

Total Files

4

Last publish

Collaborators

  • jeremy.barbet