palantir/blueprint
View on GitHub[webpack-build-scripts] asset file name generator is missing query delimiter
Open
#5296 opened on May 10, 2022
Domain: toolingP2Type: bughelp wanted
Description
Environment
- Package version(s): @blueprintjs/webpack-build-scripts v3.2.1
- Browser: Chrome
Actual behavior
When using webpack-build-scripts' base config outside this repo, asset files like SVGs are being generated in the bundle with paths like assets/logo-black.svgccef1ff6a39afed7ae4a, which prevent browsers like Chrome from interpreting them according to their file extension.
Expected behavior
The file extension should be preserved in these webpack asset URLs
Possible solution
Add a ? in the file name generator