Skip to content

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

v3.1.1

17 Aug 11:46
ad71d50
Compare
Choose a tag to compare

Changed

Fix dev server font download issue (#12)

v3.1.0

17 Aug 07:20
Compare
Choose a tag to compare

Features

Added multiple aliases for much diverse usage:

  • viteWebfontDownload as default
  • viteWebfontDownload
  • webfontDl
  • webfontDownload
  • viteWebfontDl
  • ViteWebfontDownload

v3.0.1

16 Aug 14:16
Compare
Choose a tag to compare

Changed

  • Injection whitespace fixes

v3.0.0

16 Aug 11:39
1243dc9
Compare
Choose a tag to compare

Features

Added injectAsStyleTag option (default: true).
With this option the webfont CSS will be injected as an embedded CSS (<style> tag), saving one HTTP request (also fixes #9).

(By using vite as dev server the plugin will use external CSS, downloading fonts JIT, as before)

v2.2.1

01 Aug 14:11
Compare
Choose a tag to compare

Features

  • Vite 3 support (#8)

v2.2.0

05 Jul 11:53
Compare
Choose a tag to compare

Features

  • Handle Google Fonts text kit (#6)

v2.1.0

17 May 14:38
Compare
Choose a tag to compare

Features

  • Options: pass options object as parameter to plugin (#4)
    • async: prevent the usage of inline event handlers that can cause Content Security Policy issues (#3, #4)

v2.0.0

21 Mar 21:38
Compare
Choose a tag to compare

Feature

  • Zero config: use the plugin with default Google Fonts code and it just works

Changed

  • Code refactor

v1.0.9

24 Jan 20:42
Compare
Choose a tag to compare

Changed

  • Bump version for new dist files

v1.0.8

24 Jan 20:41
Compare
Choose a tag to compare

Changed

  • Added support for both string and string[] parameter for ViteWebfontDownload()
  • Stricter ESLint rules
  • Use tsup for build