Building for Deployment #2197
-
Hey there, I was using an really old version of Understrap that was modified by someone else at my place of work, of whom has left ages, but have decided to switch over to a more recent version - since Gulp is no longer recommended, I've been using the default I have noticed that the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
So in the current version of Understrap, the way it works is:
|
Beta Was this translation helpful? Give feedback.
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 separatedist
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.