fix: script to build remove *.js

This commit is contained in:
vnmedeiros 2024-06-07 11:22:52 -03:00
parent b40ec45bed
commit 5aaed7cd0e
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ rm -rf $wp_plugin_dir/scss
find $wp_plugin_dir/views/ -type f -name '*.vue' -exec rm {} +
find $wp_plugin_dir/views/ -type f -name '*.scss' -exec rm {} +
find $wp_plugin_dir/views/ -type f -name '*.sass' -exec rm {} +
find $wp_plugin_dir/views/ -type f -name '*.js' -exec rm {} +
find $wp_plugin_dir/views/ -type d -empty -delete
if [ "$is_prod_build" == true ]