Closed TimothyBJacobs closed 5 years ago
/dist
is where all of my themes and plugins compile and save the release artifact for distribution. I'm not totally opposed to removing it from the default excludes if I'm the only one using it for that.
Ah, interesting.
Would maybe supporting .distignore
work? https://developer.wordpress.org/cli/commands/dist-archive/
Yeah, that would probably work and would be easier to use than the filter.
We ship a plugin that includes a
dist
directory in the plugin root that contains the built version of our JS files.https://github.com/cedaro/satispress/blob/af03db0e153945cee2c00f90498ebf0e5e200e73/src/Archiver.php#L75
The
dist
directory is intentionally removed. I can see why the other directory names are excluded as they are dev files, but isn'tdist
usually for built files that are necessary for the plugin to run?