Releases: nystudio107/craft-plugin-vite
Releases · nystudio107/craft-plugin-vite
5.0.2
Added
- Add a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler on the<script>
tags (useful when implementing a Content Security Policy)
Changed
- Filter out empty attributes so they don't render on the
<script>
tags
Fixed
- Use
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
4.0.12
Added
- Add a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler on the<script>
tags (useful when implementing a Content Security Policy)
Changed
- Filter out empty attributes so they don't render on the
<script>
tags
Fixed
- Use
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
1.0.36
Added
- Add a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler on the<script>
tags (useful when implementing a Content Security Policy)
Changed
- Filter out empty attributes so they don't render on the
<script>
tags
Fixed
- Use
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
5.0.1
4.0.11
1.0.35
5.0.0
Added
- Stable release for Craft CMS 5
5.0.0-beta.3
Fixed
- Fixed an issue where
craft.vite.entry()
would fail if you were using Vite 5 or later, due to theManifestHelper::fileNameWithoutHash()
function not working correctly (#24)