Skip to content

Building for Deployment #2197

Answered by bacoords
habitchrisl asked this question in Q&A
Mar 27, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

So in the current version of Understrap, the way it works is:

dist - builds just the assets, something you'd want to use in a CI/CD environment, especially if you're not version controlling the built assets. The built assets just show up in the /css and /js directories on the root.

dist-build - builds a separate dist directory with a copy of the entire theme without source files and other build process-related files. mainly for use in distributing as a Zip file, like on the WordPress.org theme directory.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@habitchrisl
Comment options

@bacoords
Comment options

@habitchrisl
Comment options

Answer selected by habitchrisl
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