Fix the cp command for blocks so that the contents of build is copied into assets/client/blocks (#42807)
This commit is contained in:
parent
762c2ef924
commit
609f39b073
|
@ -192,7 +192,7 @@
|
|||
},
|
||||
"wireit": {
|
||||
"build:project": {
|
||||
"command": "rm -rf assets/client/admin assets/js assets/css && cp -r ../woocommerce-admin/build assets/client/admin && cp -r client/legacy/build/js assets/js && cp -r client/legacy/build/css assets/css && cp -r ../woocommerce-blocks/build assets/client/blocks && cp -r ../woocommerce-blocks/blocks.ini blocks.ini",
|
||||
"command": "rm -rf assets/client/blocks assets/client/admin assets/js assets/css && cp -r ../woocommerce-admin/build assets/client/admin && cp -r client/legacy/build/js assets/js && cp -r client/legacy/build/css assets/css && cp -r ../woocommerce-blocks/build assets/client/blocks && cp -r ../woocommerce-blocks/blocks.ini blocks.ini",
|
||||
"clean": "if-file-deleted",
|
||||
"files": [],
|
||||
"output": [
|
||||
|
|
Loading…
Reference in New Issue