Skip to content

Commit

Permalink
perf: simpler webpack matcher
Browse files Browse the repository at this point in the history
many m.zeroOrMore resulted in >1 million combinations, now its 1400
  • Loading branch information
j4k0xb committed Jul 13, 2023
1 parent f394e0b commit 609943f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/extractor/webpack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ export const unpackWebpack = {
// var installedModules = {};
m.variableDeclaration(),
m.zeroOrMore(),
// function __webpack_require__(moduleId) { ... }
m.functionDeclaration(),
m.zeroOrMore(),
m.containerOf(
// __webpack_require__.s = 2
m.assignmentExpression(
Expand Down

0 comments on commit 609943f

Please sign in to comment.