Skip to content

Commit

Permalink
fix: Fixed Unknown File path "9550" error
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Apr 9, 2024
1 parent d80bc2e commit 84e3466
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/webpack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ export function injectLoader(): void {
Object.defineProperty(webpackRequire, 'm', {
get: () => {
const modulesMap = __debug().modulesMap;
const ids = Object.keys(modulesMap).filter((id) =>
/^(?:use)?WA/.test(id)
const ids = Object.keys(modulesMap).filter(
(id) =>
/^(?:use)?WA/.test(id) &&
// Fix for error "bx(...): Unknown file path "9550""
id !== 'WAWebEmojiPanelContentEmojiSearchEmpty.react'
);
const result: any = {};

Expand Down

0 comments on commit 84e3466

Please sign in to comment.