Skip to content
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

Vite - URI Malformed Error for CSS Imports #7869

Closed
1 task done
seanmcquaid opened this issue Nov 1, 2023 · 1 comment
Closed
1 task done

Vite - URI Malformed Error for CSS Imports #7869

seanmcquaid opened this issue Nov 1, 2023 · 1 comment

Comments

@seanmcquaid
Copy link

What version of Remix are you using?

2.2.0

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

Repo Link : https://github.com/seanmcquaid/remix-panda-vite-issue-repo/tree/main

  1. Install deps
  2. Start the app
  3. Notice that you get a URI malformed error, even after adding the ?inline query param as instructed.

Expected Behavior

I would expect that the CSS import would work and the URI malformed error would not be thrown.

Actual Behavior

The URI Malformed error is being thrown.

@seanmcquaid
Copy link
Author

Figured this out, you need to add ?url as a query param to the CSS file name. However, I am seeing the same issue as #7786 and the prod build does not bundle the CSS correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant