Only do classmap-authoritative on release

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-02-17 12:04:33 +01:00
parent 7e0012a63f
commit 841202de22
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205
3 changed files with 2 additions and 3 deletions

View file

@ -83,7 +83,7 @@ jobs:
if: steps.check_composer.outputs.files_exists == 'true'
run: |
cd ${{ env.APP_NAME }}
composer install --no-dev
composer install --no-dev --classmap-authoritative
- name: Build ${{ env.APP_NAME }}
# Skip if no package.json

View file

@ -25,7 +25,7 @@ composer-install-dev:
composer install
composer-install-production:
composer install --no-dev
composer install --no-dev --classmap-authoritative
build-js:
npm run dev

View file

@ -14,7 +14,6 @@
"bamarni/composer-bin-plugin": true
},
"autoloader-suffix": "Talk",
"classmap-authoritative": true,
"optimize-autoloader": true,
"platform": {
"php": "8.0"