Add script to cleanup after build

This commit is contained in:
RMidhunSuresh 2022-04-18 16:49:11 +05:30
parent f16a2e5d22
commit 541cd96eeb
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
"test": "impunity --entry-point src/platform/web/main.js src/platform/web/Platform.js --force-esm-dirs lib/ src/ --root-dir src/",
"test:postcss": "impunity --entry-point scripts/postcss/tests/css-compile-variables.test.js scripts/postcss/tests/css-url-to-variables.test.js",
"start": "vite --port 3000",
"build": "vite build",
"build": "vite build && ./scripts/cleanup.sh",
"build:sdk": "./scripts/sdk/build.sh"
},
"repository": {

3
scripts/cleanup.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
# Remove icons created in .tmp
rm -rf .tmp