Open
Description
Hi, I got the following error when using this plugin:
..\node_modules\css-modules-require-hook\lib\attachHook.js:10 Uncaught TypeError: Cannot read property '.css' of undefined
My usage:
const hook = require('css-modules-require-hook');
hook({
// the custom template for the generic classes
extensions: ['.css'],
generateScopedName: '[name]__[local]___[hash:base64:5]',
camelCase: true
});
import styles from './CircularProgressButton.css';
For your additional information, I'm using Webpack 3 and Babel 6. The project is using the ejected Create React App (CRA).
Any thoughts of how to solve this? Thanks.
Metadata
Metadata
Assignees
Labels
No labels