vanilla-extract icon indicating copy to clipboard operation
vanilla-extract copied to clipboard

can we disable `url()` resolving in vanilla-extract-webpack plugin ?

Open taozhou-glean opened this issue 6 months ago • 3 comments

Describe the bug

Can't resolve '/images/some-image.svg' in 'node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/@vanilla-extract/webpack-plugin'

Reproduction

we serve all our image assets in a public CDN, so the path set in the url is not the relative path to resolve the image file locally, and we don't want them to be resolved, but instead, just use the raw value, so would be nice if we have the option just like css-loader to disable the url resolving

System Info

command not working
macos - vanilla-extract webpack plugin 2.3.11

Used Package Manager

pnpm

Logs

No response

Validations

taozhou-glean avatar Aug 06 '24 22:08 taozhou-glean