Skip to content

Should the build directory of a block plugin be committed to a repo? #48227

Answered by skorasaurus
johnhooks asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure if there's quite any consensus yet and I wouldn't be too worried if you don't.

Personally, I do commit it because if someone (including myself) has an issue with their build process locally and cannot build it, they can at least use the block without any extra actions.

If you do include the build directory, just make sure that it is synced with your src directory.

Some (@ndiego , @ryanwelcher do include the build directory;

Others ( @richtabor (https://github.com/richtabor/share-on-twitter-block) 10up don't.

cc @ryanwelcher

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johnhooks
Comment options

Answer selected by johnhooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants