Closed gregrickaby closed 4 years ago
@gregrickaby This looks good to me, I added a conditional around the styles to check if file_exists
. So far I tested out the following scenarios and everything worked exactly as expected.
Also, nice touch on the index.asset.php
!
I'm going to go ahead to approve and merge.
Closes #11
Description
postinstall
to run a build afternpm install
finishes. This will make sure that both assets and phpcs are installed.index.js
. If it's not there, justwp_die()
and alert the user that they will need to runnpm run build