postcss-import icon indicating copy to clipboard operation
postcss-import copied to clipboard

Support a way to process a URL with fragments

Open sapphi-red opened this issue 4 months ago • 8 comments

In Vite, we were resolving @import '#foo' with subpath imports. But since postcss 16.0.0 (https://github.com/postcss/postcss-import/pull/539), these URLs are filtered out before it reaches any code that the plugin user side can control. That made Vite not able to resolve these URLs (https://github.com/vitejs/vite/issues/15861).

Would it be possible to add an option to skip this default behavior?

sapphi-red avatar Feb 20 '24 13:02 sapphi-red