More exclusive regex for ify-loader

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.