palantir/blueprint
[webpack-build-scripts] asset file name generator is missing query delimiter
开放
#5,296 创建于 2022年5月10日
Domain: toolingP2Type: bughelp wanted
仓库指标
- 星标
- (20,263 个星标)
- PR 合并指标
- (平均合并 43天 10小时) (30 天内合并 27 个 PR)
描述
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