error with webpack5
XinChou16 opened this issue · comments
pattern: /=\s*(?:"[^"]"|'[^']'|[^\s'">=]+)/,
compiler error in webpack5
+1 facing this issue out of a blue moon on a no change project since yesterday
First, I would need a minimal reproduction to investigate this.
Second, this almost certainly isn't on Prism as this code hasn't changed in a while, so there's probably a bug in Webpack itself or a loader you're using.
Could be this: webpack/webpack#17769
Closing this as as Webpack (specifically Acorn) issue. Follow the suggestion in the linked issue.
yeah, this issue comes from acorn, which has been fixed in acornjs/acorn#1253, thanks for your attenation!