Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1016 Bytes

CHANGELOG.md

File metadata and controls

31 lines (20 loc) · 1016 Bytes

Changelog

v2.3.0

Changed

  • An instance of ViteHelperConfig can now be initialized only with a config key (string)
  • The ViteScriptsHelper accepts string for the $config argument

v2.2.0

Added

  • New convenience methods for the ViteScriptsHelper:
    • The methods $this->ViteScripts->pluginScript($pluginName) as well as pluginCss() were added to simplify the usage of the helper with plugins that use Vite.
    • The new methods assume you want the production build, but you can set the $devMode flag to true.

Changed

  • ViteHelperConfig (internal changes):
    • Two configs can now be merged.
    • The $config array is now public readonly.

v2.1.0

Added

  • Autoloading of the manifest.json for plugins. When the config passed to the helper defines a plugin name through the config key plugin and does not specify a fill path to the manifest, the plugin expects the manifest.json to be available at /your/plugin_root/webroot/manifest.json.