From 5aaed7cd0ee3e3181b176709fb60f2e5b48e209f Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Fri, 7 Jun 2024 11:22:52 -0300 Subject: [PATCH] fix: script to build remove *.js --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 9eef5a582..9e72f0e28 100755 --- a/build.sh +++ b/build.sh @@ -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 ]