Skip to content

Commit

Permalink
Move service worker to services dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chawes13 committed May 9, 2020
1 parent 9f349b7 commit b8ac061
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function aliases (basePath) {
'browser-history': to('js/services/browserHistory'),
'local-storage': to('js/services/localStorage'),
'sentry': to('js/services/sentry'),
'service-worker': to('js/services/serviceWorker'),
// Modules
'lp-components': '@launchpadlab/lp-components',
'lp-form': '@launchpadlab/lp-form',
Expand All @@ -29,4 +30,4 @@ function aliases (basePath) {
}
}

module.exports = aliases
module.exports = aliases
2 changes: 1 addition & 1 deletion src/js/entry/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Any extra setup can go here.
import * as serviceWorker from './serviceWorker'
import * as serviceWorker from 'service-worker'
import '../main'

serviceWorker.register()
File renamed without changes.

0 comments on commit b8ac061

Please sign in to comment.