This is a maintained fork of evo-mark/vite-plugin-gutenberg-blocks.
entryDirprop — allows us to specify a custom entry directory for Gutenberg blocks, making the package compatible with theme-based block development.
npm install @yardinternet/vite-plugin-gutenberg-blocksUsed in the Yard Toolkit
The upstream remote is still configured:
git remote add upstream https://github.com/evo-mark/vite-plugin-gutenberg-blocks.git
To pull updates:
git fetch upstream
git checkout main
git merge upstream/main
Be aware: since this is a heavy fork, merge conflicts may need manual resolution.
- Change the version of
package.jsonto the desired version and commit this change. - Go to releases of the package and click on "Draft a new release"
- Click "Choose a tag", type the corresponding version and press Enter. Add a title and description for the release.
- Click "Publish release"
The Github Workflow release-package.yml will run whenever a release is created in this repository. If the tests pass, then the package will be published to Github packages.