-
-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
effort: lowaround a day or lessaround a day or less💡 Proposed WorkThis is work that _might_ be worth doing, but that hasn't been started yet.This is work that _might_ be worth doing, but that hasn't been started yet.
Description
adjusting webpack config like
{
loader: 'css-loader', // Takes the CSS files and returns the CSS with imports and url(...) for Webpack
options: {
sourceMap: true,
modules: {
localIdentName: isDevelopment
? '[path][name]__[local]'
: '[hash:base64]',
},
importLoaders: 1,
},
},
will add support for css modules so that
import styles from './styles.scss';
export const Login: React.FC = () => {
return (
<section className={styles.login}>
<h2>extension</h2>
</section>
);
};
will work fine
thehigherbounce
Metadata
Metadata
Assignees
Labels
effort: lowaround a day or lessaround a day or less💡 Proposed WorkThis is work that _might_ be worth doing, but that hasn't been started yet.This is work that _might_ be worth doing, but that hasn't been started yet.