Skip to content

Commit d0baac7

Browse files
authored
Add (.min)? to karma filter
1 parent fa84103 commit d0baac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

karma.conf.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = async function(karma) {
2020
// we will prefer the unminified build which is easier to browse and works
2121
// better with source mapping. In other cases, pick the minified build to
2222
// make sure that the minification process (terser) doesn't break anything.
23-
const regex = /chart\.umd\.js$/;
23+
const regex = /chart\.umd(\.min)?\.js$/;
2424
const build = builds.filter(v => v.output.file && v.output.file.match(regex))[0];
2525

2626
if (karma.autoWatch) {

0 commit comments

Comments
 (0)