Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More exclusive regex for ify-loader #4395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thatsmeta opened this issue Dec 2, 2019 · 2 comments
Closed

More exclusive regex for ify-loader #4395

thatsmeta opened this issue Dec 2, 2019 · 2 comments

Comments

@thatsmeta
Copy link

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.

@etpinard
Copy link
Contributor

etpinard commented Dec 2, 2019

Hi @thatsmeta

Could you repost your question over on https://community.plot.ly/c/api/plotly-js? - This way, other users can help and benefit from the answer(s). Thanks!

@etpinard etpinard closed this as completed Dec 2, 2019
@thatsmeta
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants