Skip to content

Commit b063013

Browse files
committed
remove css-bundle as it is unnecessary with vite
1 parent 129932e commit b063013

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

app/root.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { useForm, getFormProps } from '@conform-to/react'
22
import { parseWithZod } from '@conform-to/zod'
33
import { invariantResponse } from '@epic-web/invariant'
4-
import { cssBundleHref } from '@remix-run/css-bundle'
54
import {
65
json,
76
type LoaderFunctionArgs,
@@ -62,7 +61,6 @@ export const links: LinksFunction = () => {
6261
{ rel: 'preload', href: iconsHref, as: 'image' },
6362
// Preload CSS as a resource to avoid render blocking
6463
{ rel: 'preload', href: tailwindStyleSheetUrl, as: 'style' },
65-
cssBundleHref ? { rel: 'preload', href: cssBundleHref, as: 'style' } : null,
6664
{ rel: 'mask-icon', href: '/favicons/mask-icon.svg' },
6765
{
6866
rel: 'alternate icon',
@@ -78,7 +76,6 @@ export const links: LinksFunction = () => {
7876
//These should match the css preloads above to avoid css as render blocking resource
7977
{ rel: 'icon', type: 'image/svg+xml', href: '/favicons/favicon.svg' },
8078
{ rel: 'stylesheet', href: tailwindStyleSheetUrl },
81-
cssBundleHref ? { rel: 'stylesheet', href: cssBundleHref } : null,
8279
].filter(Boolean)
8380
}
8481

package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"@radix-ui/react-toast": "^1.1.5",
5858
"@radix-ui/react-tooltip": "^1.0.7",
5959
"@react-email/components": "0.0.11",
60-
"@remix-run/css-bundle": "2.7.2",
6160
"@remix-run/express": "2.7.2",
6261
"@remix-run/node": "2.7.2",
6362
"@remix-run/react": "2.7.2",

0 commit comments

Comments
 (0)