The inputs are source files and the outputs are compiled files.Īs always, if things aren’t clear to you, we encourage you to reach out to the theme creator for clarification! Just look for the file paths of what’s being processed and where it’s outputting. Even if you’re not familiar with Gulp, Grunt, or Webpack syntax, you can usually tell what’s happening at a high level. If neither of the above are helpful, you can always pop open your theme’s build tooling code and review the functions/tasks where source files are processed. Second, source files are commonly in folders named src/ or app/, while compiled files are often found in /dist, public/, or build/ folders. Since each theme is organized slightly differently, there’s no single answer, but it’s usually not too tough to sort it out.įirst, the documentation of your theme may have a breakdown of the theme’s directories with clear explanations of each. How do I know which files are source, compiled or static? Here’s what the whole build process looks like at a high level starting from source files and ending with a rendered theme page in your browser! That said, some themes may process images to optimize their size, in which case they would then be source files. These don’t require any processing to be used and aren’t generated from any other source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |