We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v-img/src/index.js
Line 9 in be8f25e
Advantages:
学习了,CSS中内联SVG图片有比Base64更好的形式 « 张鑫旭-鑫空间-鑫生活
(1) [译]Base64 编码&性能 - 安逸 - SegmentFault 思否
The text was updated successfully, but these errors were encountered:
打包后的产物中可以看到 placeholder.svg 是被 rollup-plugin-img 自动转换成 base64 的。或许你可以看看能否改改配置自动内联 svg
Sorry, something went wrong.
更新 rollup-plugin-img 为 @rollup/plugin-image@^2.0.1 即可解决外链 svg 的编码问题
但是。@rollup/plugin-image 说明文档中要求 Rollup v1.20.0+,我使用项目中 Rollup v1.19.4 编译也没有出现问题
No branches or pull requests
v-img/src/index.js
Line 9 in be8f25e
Advantages:
学习了,CSS中内联SVG图片有比Base64更好的形式 « 张鑫旭-鑫空间-鑫生活
(1) [译]Base64 编码&性能 - 安逸 - SegmentFault 思否
The text was updated successfully, but these errors were encountered: