From 6439f2a1701e3142e69f35e2e61172bf02147d99 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 25 Jun 2019 13:12:02 +0100 Subject: [PATCH] Include src in autoloader --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 72f462a549d..d6105eb6e86 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,10 @@ "exclude-from-classmap": [ "includes/legacy", "includes/libraries" - ] + ], + "psr-4": { + "Automattic\\WooCommerce\\": "src/" + } }, "scripts": { "post-install-cmd": [