Fix: Convert the RegExp to a string#36
Fix: Convert the RegExp to a string#36andyeskridge wants to merge 1 commit intoprisma-labs:masterfrom
Conversation
|
This worked for me |
|
@williamluke4 wanna merge & release this one? EditTill then I used commit hash in my "next-prisma-plugin": "prisma-labs/next-prisma-plugin#a3c6e044a9b44bfbe6a799e2e2377a15280b1569"I also tried installing the package like: $ npm i andyeskridge/next-prisma-plugin#patch-1However, it didn't help. It gives me:
|
Yeah the plugin requires a build, while I was waiting for this to be unblocked I published a npm package to use in the meantime. https://www.npmjs.com/package/next-prisma-plugin-webpack5 |
|
Thanks, Andy, was just gonna ask about it now 😂 |
|
Hi there :) any plans to merge this and create a release? Thank you for fixing this! |
By converting the
RegExpto astringwebpack stops complaining. I've done some quick testing and it seem that everything is still working, but I would love some other eyes on this.Because webpack converts
globstoRegExpit seems that it executes thisRegExpthat is just a sting. (https://webpack.js.org/configuration/watch/#watchoptionsignored)This closes #31