frontpack / composer-assets-plugin

Composer plugin for copying of frontend assets into public directory.
Other
25 stars 5 forks source link

Ignore .gitkeep files in assets-strategy copy #12

Open thefrosty opened 3 years ago

thefrosty commented 3 years ago

We are using assets-strategy as copy, so have a directory in out GIT with the file .gitkeep so it's tracked. Is there a flag to ignore a allowed list of existing files? So I don't have a discard the change on all composer commands?

janpecha commented 3 years ago

Hi, there is no flag to keep files in assets directory. Assets directory is always purged and installed freshly. Maybe can help option assets-target and configure custom directory for every package.