github-actions
released this
14 Aug 02:05
·
2 commits
to develop-v5
since this release
Added
- Added 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)