Skip to content

1.2.0

Latest

Choose a tag to compare

@lcharette lcharette released this 15 May 23:12

What's Changed

  • 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()

Full Changelog: 1.1.0...1.2.0