Closed
Description
According to the css-modules-require-hook
docs, processOpts is not a valid option. Should this be processorOpts instead? I receive this error with the former option.
const scssParser = require('postcss-scss').parse;
require('babel-register')({
ignore: /node_modules(?=(.(?!\.(scss|css)$))*$)//,
plugins: [
['css-modules-transform', {
extensions: ['.css', '.scss'],
processOpts: { parser: scssParser },
}],
],
});