Skip to content

Commit 49787b8

Browse files
committed
Remove service worker implementation and related imports
1 parent 2ee9767 commit 49787b8

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

website/src/root.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { component$ } from '@builder.io/qwik';
2-
import {
3-
QwikCityProvider,
4-
RouterOutlet,
5-
ServiceWorkerRegister,
6-
} from '@builder.io/qwik-city';
7-
import { isDev } from '@builder.io/qwik/build';
2+
import { QwikCityProvider, RouterOutlet } from '@builder.io/qwik-city';
83
import { Head } from './components';
94
import './styles/root.css';
105
import { disableTransitions } from './utils';
@@ -18,7 +13,6 @@ export default component$(() => (
1813
>
1914
<RouterOutlet />
2015
{/* {!isDev && <SpeedInsights />} */}
21-
{!isDev && <ServiceWorkerRegister />}
2216
</body>
2317
</QwikCityProvider>
2418
));

website/src/routes/service-worker.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)