Releases: vusion/icon-font-loader
Releases · vusion/icon-font-loader
v4.0.0
v3.1.1
v3.1.0
v3.0.0
v2.2.0
✨ New features:
- Custom local CSS selector
- Specify the entry that needs to be automatically inserted
⬆️ Upgrading:
- Upgrade @vusion/[email protected]
v2.1.0
v2.0.3
🐛 Bug 修复:
- Fix extract-text-webpack-plugin模块中的内容未被正确替换
- Fix ttf文件hash会随着时间的改变而改变,导致字体文件每一次打包都不一致
- Fix 没有图标的时候会报错
🐛 Bug Fixes:
- Fix content in extract-text-webpack-plugin is not replaced correctly
- Fix the ttf file hash will change over time, causing the font files to be inconsistently packaged each time.
- Fix error when no icon
v2.0.0
⚡️ 功能提示:
- @font-face的插入将会通过webpack自身的css插入机制进行
💥 Breaking Changes:
- 因为@font-face的引入将会依靠css-loader来进行,我们并没有为插入的font-face.css增加css处理的loader。所以sass的用户如果没有css 的webpack rule,需要额外添加关于css的webpack rule。
⚡️ Enhancement:
- The introduction of @font-face will be introduced through the introduction mechanism of webpack itself.
💥 Breaking Changes:
- Because the introduction of @font-face will rely on css-loader, but we have not added css processing loader for the inserted fontface.css. So if the user of sass does not have the webpack rule of css, you need to add a webpack rule about css.
v1.6.0
🐛 Bug Fixes:
- Fix #29 sass-loader Sourcemaps not preserved after passing through icon-font loader
- Fix some loader will remove start chart 0 from ICON_FONT_LOADER_IMAGE,
- Fix when module source is null, loader will throw error
⚡️ Enhancement:
- Use postcss plugin to generate css,
- Extract common code to base-css-image-loader, and icon-font-loader will replace string in module source by base-css-image-loader