Skip to content

Releases: vusion/icon-font-loader

v4.0.0

13 Dec 07:12
Compare
Choose a tag to compare

⬆️ Upgrade:

  • Add compatability with Webpack v5.

v3.1.1

23 Nov 07:52
Compare
Choose a tag to compare

🐛 Bugfix:

  • Fix custom unicode generator font error.

v3.1.0

15 Nov 15:49
Compare
Choose a tag to compare

✨New features:

  • Support specifying content unicode of pseudo element.

v3.0.0

20 May 15:26
Compare
Choose a tag to compare

💥 Breaking Changes:

  • Set default descent option so that for most icons no extra vertical-align style needs to be added. It's a best practice.

v2.2.0

24 Nov 14:08
Compare
Choose a tag to compare

✨ New features:

  • Custom local CSS selector
  • Specify the entry that needs to be automatically inserted

⬆️ Upgrading:

  • Upgrade @vusion/webfonts-generator@0.6.0

v2.1.0

04 Jul 09:40
Compare
Choose a tag to compare

⚡ 提升模块热替换时的性能

  • 模块热替换时,使用缓存来减少不必要的字体库重建。

⚡ Improving performance when HMR

  • Caching font library when no icon-font change during HMR.

v2.0.3

22 May 07:33
Compare
Choose a tag to compare

🐛 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

05 Mar 06:43
Compare
Choose a tag to compare

⚡️ 功能提示:

  • @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

23 Dec 13:16
Compare
Choose a tag to compare

🐛 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

v1.5.2

20 Aug 03:25
Compare
Choose a tag to compare

🐛 Bug Fixes:

  • Fix a bug that ICON_FONT_LOADER_IMAGE not being replaced with mini-css-extract-plugin is used, #26
  • Throw an error when using png format image link in url, #23

⚡️ Enhancement:

  • Upgrade dependencies like svgicons2svgfont, #24