Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
fix: Replace all occurences of "*" in ignored entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Aug 11, 2021
1 parent 8b79f98 commit 6020351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuildService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class BuildService {
this.logger.state = {isEnabled: options.verbose};
this.entries = [];
this.ignoreEntries = this.options.ignoreEntries.map(entry =>
entry instanceof RegExp ? entry : new RegExp(entry.replace('*', '.*'))
entry instanceof RegExp ? entry : new RegExp(entry.replaceAll('*', '.*'))
);
this.outputFile = this.options.outputEntry ? path.resolve(this.options.outputEntry) : null;
this.progressBar = new progress('Compressing [:bar] :percent :elapseds', {
Expand Down

0 comments on commit 6020351

Please sign in to comment.