Skip to content

Commit 23c367a

Browse files
committed
fix: issue with introduced by prependTo from #16
1 parent b5617e6 commit 23c367a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class PlayerLoaderPlugin {
5757

5858
// if prependTo is specified though, we prepend to anything that is listed
5959
} else {
60-
assets = assets.filter((filename) => this.settings_.prependTo.indexOf(filename) !== -1);
60+
assets = assets.filter((filename) => this.settings_.prependTo.indexOf(filename) === -1);
6161
}
6262

6363
if (!assets.length) {

0 commit comments

Comments
 (0)