Skip to content

Commit

Permalink
generate-modules: allow $ in openfl package name (for VectorIterator)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Sep 9, 2024
1 parent b19b680 commit 6263466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-scripts/generate-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ function processCjsModule(moduleFilePath) {
content.substr(result.index + result[0].length);
}

let findCall = new RegExp(`(${ns}(_\\w+)+\\(\\))\\.default`);
let findCall = new RegExp(`(${ns}(_[\\$\\w]+)+\\(\\))\\.default`);
while ((result = content.match(findCall))) {
content =
content.substr(0, result.index) +
Expand Down

0 comments on commit 6263466

Please sign in to comment.