Skip to content

Unknown arguments: processOpts #36

Closed
@inv8der

Description

@inv8der

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 },
        }],
    ],
});

screen shot 2017-02-15 at 4 19 58 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions