2.6
Improvments
Most of the time we relied on WordPress functions wp_register_*()
- and wp_enqueue_*()
to set a $version
which is for example based on the filemtime
of the Asset. Webpack and @wordpress/dependency-extraction-webpack-plugin
are allowing to add hashes for easier cache handling. This broke the loading of generated dependency extraction files due a different format of file names.
With this release of inpsyde/assets
we will add support for generated dependency extraction files with and without hashes in following format:
{fileName}.asset.json
{fileName}.{hash}.asset.json
{fileName}.asset.php
{fileName}.{hash}.asset.php
Quality
- Set theme jekyll-theme-slate. You can now read the documentation on https://inpsyde.github.io/assets/
- psalm & phpcs.
- Improve
.gitattributes
- testing.yml // run steps in parallel instead of depending on "quality".
Props @tangrufus @judy-inpsyde and myself ;)