Skip to content

Commit d69d67f

Browse files
committed
fix(web): forgot to target es5 when minifying polyfilled worker
1 parent 2863bdb commit d69d67f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/web/lm-worker/build-wrap-and-minify.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if(MINIFY) {
3535
sourcesContent: DEBUG,
3636
minify: true,
3737
keepNames: true,
38+
target: 'es5',
3839
outfile: `build/lib/worker-main.polyfilled.min.js`
3940
});
4041
}

0 commit comments

Comments
 (0)