survivejs / webpack-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/webpack/
2.42k stars 319 forks source link

Fix CSS modules section a bit #111

Closed sapegin closed 7 years ago

sapegin commented 7 years ago
  1. Webpack 2 loaders syntax.
  2. :local isn‘t needed since you’re using CSS Modules here.
bebraw commented 7 years ago

Thanks. Good catch.

I think I'll add SCSS import example there too to show how to tie SCSS classes and JavaScript together.

sapegin commented 7 years ago

Are SCSS classes different than CSS Modules classes? Not sure I understand what you mean ;-|

bebraw commented 7 years ago

Ah, never mind... SCSS would be just a part of the loader definition. Nothing special there. 👍