Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Conversation

antfu
Copy link
Member

@antfu antfu commented Oct 11, 2021

fix #211

Continues from #219. Sorry for cascading PRs, but since #219 moved the code to a new file, I think it's better to change it on the new file instead of the old one. Will rebase once #219 is merged.

Blocker

  • Vite expose CSS files with preprocessor with their original file extension, for example, pages/index.vue?vue&type=style&index=0&lang.scss but serves the compiled CSS. This makes the isCSS check in the renderer failed to recognized it as a CSS file. I guess the current solution might be appending a fake .css extension to the manifest and use middleware to rewrite them back.

@shunji-onodera
Copy link

shunji-onodera commented Jun 6, 2022

Hi, I am facing the same problem as #211. Is there any chance to merge this PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FOUC on dev SSR

2 participants