macaw-cad / sxa-umbrella

Project structure and tools to optimize front-end team development workflow in any Sitecore SXA project
6 stars 3 forks source link

The 'npm run clean' operation can delete files in src folder #1

Closed svdoever closed 4 years ago

svdoever commented 4 years ago

Patterns are used for cleanup of the scripts and styles folders in the themes. The src folder can include a scripts or styles folder as well. Those may not be removed. Ensure that all files in the src folders are excluded from cleanup. This means that rimraf cannot be used anymore, because it can't exclude using glob patterns. Move to del-cli to handle this.