[AAE-12124] Use a function to remove js files (#8157)

* Use a function to remove js files

* try to check the asset
This commit is contained in:
Maurizio Vitale
2023-01-17 14:47:50 +00:00
committed by GitHub
parent 35721b0279
commit eb8bad1f96
3 changed files with 49 additions and 4 deletions
+1 -1
View File
@@ -422,7 +422,7 @@
"options": {
"commands": [
{
"command": "$(npm bin)/webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail && rm ./dist/libs/core/lib/prebuilt-themes/*.js"
"command": "$(npm bin)/webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail"
}
]
}