Skip to content

feat(vite): support subpath imports in css urls and only use if resolves to file on system - #22014

Closed
kalvenschraut wants to merge 6 commits into
vitejs:mainfrom
RTVision:feat/sub-path-import-for-css-url
Closed

kalvenschraut wants to merge 6 commits into
vitejs:mainfrom
RTVision:feat/sub-path-import-for-css-url

Conversation

@kalvenschraut

Copy link
Copy Markdown
Contributor

fixes #16155

Done with AI, open to other directions. Figured to address the concerns brought up in #16155 (comment) that we would check if the path resolves to a file then should be safe to assume to use that file I believe.

@kalvenschraut
kalvenschraut force-pushed the feat/sub-path-import-for-css-url branch from d12ed15 to 28f24af Compare March 24, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: css p2-to-be-discussed Enhancement under consideration (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use import subpaths in css url() paths

2 participants