Expand description
Copy non-source static files into an output tree.
The counterpart to the typescript/scss
processors: everything they don’t transform (images, fonts, JSON, .well-known,
…) is copied across verbatim, so build (and any custom build script) ends up with
a complete output directory.
Functions§
- copy_
static - Copy files from
srctoout(preserving structure), skipping things a build step produces or ignores:.ts/.tsx/.mts/.scss/.terasources,_-prefixed partials, and any path therejectlist excludes (config / secrets / source). Symlinks are skipped entirely — file or directory; the pipeline’s preflight, not this standalone helper, honorsSymlinkMode. Returns the number of files copied.