Distribution Files
Generate production-ready files for your WordPress theme:
npm run exportWhat Gets Generated
The dist/ folder contains your compiled theme:
- CSS - Minified with cssnano, autoprefixed.
- JavaScript - Transpiled with Babel, minified.
- PHP templates - Copied as-is from
src/theme/. - Assets - Images and fonts from
src/assets/. - Zip archive -
dist/wordpressify.zip, ready to upload to WordPress.
Deployment
You can upload wordpressify.zip manually through the WordPress admin (Appearance > Themes > Add New > Upload Theme), or set up automated deployments with GitHub Actions.
Auto Deploy
Set up automatic deployment with GitHub Actions via FTP or SSH.