News for hackers. Stuff that matters.
Re:Create React App 2.0: Babel 7, Sass, and More by ascorbic on Thursday October 04, 2018 @01:17AM (#18137376)
It's perfectly fine to just use css-loader to handle CSS modules. No need for babel. Just do:

   import styles from "./style.css";

   <Component className={styles.myClassName} />

There are no comments on this comment yet.