Skip to content

Commit

Permalink
📵 Removed Remix PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs committed Jan 27, 2024
1 parent 426f415 commit 9700777
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 95 deletions.
84 changes: 0 additions & 84 deletions app/entry.worker.ts

This file was deleted.

2 changes: 0 additions & 2 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
ScrollRestoration,
} from '@remix-run/react'
import { json } from '@remix-run/node'
import { useSWEffect } from '@remix-pwa/sw'
import type { LoaderFunctionArgs } from '@remix-run/node'

import { ClientHints, getHints } from './components/ClientHint'
Expand Down Expand Up @@ -38,7 +37,6 @@ function App() {
}

export default function Document() {
// useSWEffect()
const theme = useTheme()

return (
Expand Down
10 changes: 1 addition & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,9 @@ import { unstable_vitePlugin as remix } from '@remix-run/dev'
import { defineConfig } from 'vite'
import { remixDevTools } from 'remix-development-tools/vite'
import tsconfigPaths from 'vite-tsconfig-paths'
import { unstable_RemixPWA as remixPWA } from '@remix-pwa/dev'

export default defineConfig({
plugins: [
remix(),
tsconfigPaths(),
remixDevTools(),
remixPWA({
workerMinify: true,
}),
],
plugins: [remix(), tsconfigPaths(), remixDevTools()],
server: {
open: true,
port: 3000,
Expand Down

0 comments on commit 9700777

Please sign in to comment.