woocommerce/tools
Chi-Hsuan Huang ec8bd31365
Improve webpack cache-busting version parameter by using file contents hash (#44838)
* Update webpack config to use file content hash for chunks and generate asset php for styles

* Use StyleAssetPlugin to generate style.asset.php

* Remove unneed ?ver=<version> code

* Use file hash from asset file when SCRIPT_DEBUG is off

- Use file hash to load scripts/styles ?ver=<file hash>
- Add register_style() method to WC_Admin_Assets

* Load payment method promotions in admin_enqueue_scripts

* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor, woocommerce

* Add json2php

* Update doc

* Update pnpm-lock.yaml

* Fix add_print_shipping_label_script

* Add a comment to style-asset-plugin.js

* Change register_style to use WC_ADMIN_DIST_CSS_FOLDER

* Reset the outputNormal object to avoid duplicate files

* Fix type error

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-02-27 08:07:53 +00:00
..
changelogger Fix/37502: Correct spelling errors. (#37887) 2023-05-08 15:55:09 +08:00
code-analyzer Improve webpack cache-busting version parameter by using file contents hash (#44838) 2024-02-27 08:07:53 +00:00
compare-perf Updated PNPM to ^8.12.1 (#42860) 2023-12-18 20:31:49 +13:00
executors/changelogger Add NX commands for Jetpack Changelogger (#31166) 2021-12-15 14:14:17 +13:00
monorepo Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
monorepo-merge Update `wireit` & Optimize Builds (#43595) 2024-01-15 14:06:55 -08:00
monorepo-utils Update the monorepo-utils gitignore to only include index.js and its license file. (#44932) 2024-02-23 13:56:18 -06:00
package-release Package Release: Prepare PHP packages for release (#44420) 2024-02-08 22:23:13 +13:00
release-posts Update `wireit` & Optimize Builds (#43595) 2024-01-15 14:06:55 -08:00
storybook Update `wireit` & Optimize Builds (#43595) 2024-01-15 14:06:55 -08:00
.gitkeep git mv a few folders 2021-10-19 10:35:45 +13:00