vanilla-extract
vanilla-extract copied to clipboard
can we disable `url()` resolving in vanilla-extract-webpack plugin ?
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
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a minimal reproducible example of the bug.