mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
15 lines
524 B
Bash
Executable file
15 lines
524 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -o errexit # always exit on error
|
|
set -o pipefail # don't ignore exit codes when piping output
|
|
|
|
echo "-----> Running post-compile script"
|
|
|
|
rm -rf docker docs env.d gitlint src/frontend/apps/e2e
|
|
rm -rf src/frontend/apps
|
|
rm -rf src/frontend/packages
|
|
|
|
# Remove some of the larger packages required by the frontend only
|
|
rm -rf src/frontend/node_modules/@next src/frontend/node_modules/next src/frontend/node_modules/react-icons src/frontend/node_modules/@gouvfr-lasuite
|
|
|
|
# du -ch | sort -rh | head -n 100
|