-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remix + Vite build and ServerBuild are incompatible #9529
Labels
Comments
They are actually compatible but the build delivers crossOrigin as string | undefined. Not union const so the tsc compiler is not happy. const links = () => [
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{
rel: "preconnect",
href: "https://fonts.gstatic.com",
crossOrigin: "anonymous"
}
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction
npx create-remix@latest --template remix-run/remix/templates/cloudflare cd my-remix-app vim app/root.tsx
System Info
Used Package Manager
npm
Expected Behavior
The tsc command successfully ran.
Actual Behavior
The text was updated successfully, but these errors were encountered: