Skip to content

Commit 2597742

Browse files
committed
optimize dist size
1 parent 5e4c1f9 commit 2597742

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
/.github export-ignore
1111
/docker-compose.yaml export-ignore
1212
/Dockerfile export-ignore
13+
/dist-size-status.json export-ignore

Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ tasks:
6565
deps: [install]
6666
cmd: 'vendor/bin/composer-unused {{.CLI_ARGS}}'
6767

68+
dist-size-optimize:
69+
deps: [ install ]
70+
cmd: 'vendor/bin/dist-size-optimizer check {{.CLI_ARGS}}'
71+
6872
check:
6973
deps: [install]
7074
cmds:
@@ -77,3 +81,4 @@ tasks:
7781
- task: composer-normalize
7882
# - task: composer-check-require
7983
# - task: composer-check-unused
84+
- task: dist-size-optimize

0 commit comments

Comments
 (0)