DEV: Correctly detect plugin JS with `.br.js` extension (#16073)
This commit is contained in:
parent
bf6173509c
commit
fd8388776e
|
@ -41,7 +41,9 @@ export default function identifySource(error) {
|
|||
// Production mode
|
||||
plugin =
|
||||
plugin ||
|
||||
error.stack.match(/assets\/plugins\/_?([\w-]+)-[0-9a-f]+\.js/)?.[1];
|
||||
error.stack.match(
|
||||
/assets\/plugins\/_?([\w-]+)-[0-9a-f]+(?:\.br)?\.js/
|
||||
)?.[1];
|
||||
|
||||
if (plugin) {
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue