·
2 commits
to develop-v5
since this release
Added
- Add a
craft.vite.integrity()method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandlerconfig setting that allows you to disable the adding of anonloadhandler 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
strrposinstead ofstrposwhen attempting to extract a file name without the hash (#28)