Skip to content

Commit

Permalink
fix: fix worker import
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 6, 2018
1 parent 29b0846 commit 4896346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/SearchStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let worker;
if (typeof URL !== 'undefined') {
try {
// tslint:disable-next-line
worker = require('workerize-loader?inline&fallback=false!./SearchWorker.worker').default;
worker = require('workerize-loader?inline&fallback=false!./SearchWorker.worker');
} catch (e) {
worker = require('./SearchWorker.worker').default;
}
Expand Down

0 comments on commit 4896346

Please sign in to comment.