Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 946 Bytes

File metadata and controls

23 lines (16 loc) · 946 Bytes

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.2.0

  • Fix getStyle() silently dropping the standalone .css output file when a chunk also has a css[] array (assignment was overwriting instead of merging)
  • Add renderStylePreloads() method to ViteManifest and ViteManifestInterface to emit <link rel="preload" as="style"> hints for CSS files
  • Add vite_css_preload() Twig function backed by renderStylePreloads()

1.1.0

  • Support CSS standalone file by @imagoiq in #1
  • Add PHP 8.4 Tests

1.0.2

  • Apply basePath to server URL

1.0.1

  • ViteTwigExtension constructor uses interface instead of class

1.0.0

  • Initial version