Skip to content

More exclusive regex for ify-loader #4395

@thatsmeta

Description

@thatsmeta

Hi, I'm using plotly.js with Angular 8 and followed the instructions in this as of yet open PR: #4182.
Could you help me find a more exclusive regex to put in the test section of the ify-loader rule?

module.exports = {
    module: {
        rules: [
            {
                test: /\.js$/,
                loader: 'ify-loader'
            }
        ]
    }
};

I have a rather large project and would like to avoid running all js files through the loader.
I'd like to limit the use of the loader to plotly / webgl files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions