Skip to content

Releases: feat-agency/vite-plugin-webfont-dl

v3.5.0

27 Jan 13:47
Compare
Choose a tag to compare

Features

  • New capturing mechanism for @font-face definitions and @import rules (with webfont URLs) in the bundled CSS.
  • Added Fontshare and CDNFonts support.

v3.4.3

10 Jan 08:24
Compare
Choose a tag to compare

Changed

Allow - and _ in google font files (#19 #20) - thanks @nstringham

v3.4.2

09 Dec 10:26
Compare
Choose a tag to compare

Changed

Added support for Vite 4.

v3.4.1

03 Nov 12:18
Compare
Choose a tag to compare

Changed

indexHtmlPath fix by changing replace regex to ^/ (fixes #18)

v3.4.0

20 Oct 15:01
Compare
Choose a tag to compare

Features

Added Bunny Fonts support.

v3.3.0

20 Oct 07:20
Compare
Choose a tag to compare

Features

  • Support projects without index.html (like Laravel: @vite('webfonts.css')) (#15)
  • Log download events (useful to know what takes so long with the build)
  • Added unit tests

Changes

  • Moved business logic from transformIndexHtml to generateBundle (#15)
  • Forced inject as external stylesheet (like injectAsStyleTag: false), if transformIndexHtml hook is not fired
  • Use value of build.minify for minifyCss option
  • Use /@webfonts/ as assets directory with dev server

v3.2.1

15 Oct 13:53
Compare
Choose a tag to compare

Changed

Moved clean-css from devDependencies to dependencies

v3.2.0

15 Oct 13:02
Compare
Choose a tag to compare

Features

Added minifyCss option, default: true.

v3.1.3

15 Oct 09:30
Compare
Choose a tag to compare

Changed

Package type fix (#16)

v3.1.2

15 Oct 08:46
Compare
Choose a tag to compare

Changed

Support for relative URLs (#17)