Skip to content

Commit 4bd3de9

Browse files
committed
Disable eslint for __webpack_public_path__
1 parent 5a38acb commit 4bd3de9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/entry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if (process.env.NODE_ENV==='development') {
55
require('preact/devtools');
66
}
77
else if ('serviceWorker' in navigator && location.protocol === 'https:') {
8+
// eslint-disable-next-line no-undef
89
navigator.serviceWorker.register(__webpack_public_path__ + 'sw.js');
910
}
1011

0 commit comments

Comments
 (0)