fix: script to build remove *.js
This commit is contained in:
parent
b40ec45bed
commit
5aaed7cd0e
1
build.sh
1
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 ]
|
||||
|
|
Loading…
Reference in New Issue