packages/php/email-editor/vendor-prefixed/README.md
This directory contains vendor-prefixed dependencies for the WooCommerce Email Editor package to avoid conflicts with other plugins that might include the same packages.
The directory content is automatically generated by the Mozart tool and contains prefixed versions of third-party dependencies. The contents of the packages and classes directories are automatically generated during composer install and composer update.
Automattic\WooCommerce\EmailEditorVendor\EmailEditorVendor_⚠️ Do not make direct changes to files in the packages or classes directories! Any manual changes will be lost when the dependencies are regenerated.
composer.json under require-devcomposer.json specifies prefixing rulescomposer install/update, Mozart automatically:
The Mozart configuration in composer.json includes:
Automattic\WooCommerce\EmailEditorVendor\/packages//classes/EmailEditorVendor_trueThe prefixed dependencies are automatically loaded through the main package's autoloader. You don't need to interact with this directory directly - use the dependencies through their prefixed namespaces in your code.
composer require PACKAGE_NAME --devcomposer installcomposer.json - Contains Mozart configuration and dependency definitionscomposer.lock - Locks dependency versions for reproducible builds../src/class-email-css-inliner.php - Uses the prefixed Emogrifier packageFor more information about the Email Editor package, see the main README.md.