Releases: feat-agency/vite-plugin-webfont-dl
Releases · feat-agency/vite-plugin-webfont-dl
v3.1.1
Changed
Fix dev server font download issue (#12)
v3.1.0
Features
Added multiple aliases for much diverse usage:
viteWebfontDownload
as default
viteWebfontDownload
webfontDl
webfontDownload
viteWebfontDl
ViteWebfontDownload
v3.0.1
Changed
- Injection whitespace fixes
v3.0.0
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.0
Features
- Handle Google Fonts text kit (#6)
v2.1.0
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
Feature
- Zero config: use the plugin with default Google Fonts code and it just works
Changed
v1.0.9
Changed
- Bump version for new dist files
v1.0.8
Changed
- Added support for both
string
and string[]
parameter for ViteWebfontDownload()
- Stricter ESLint rules
- Use
tsup
for build