Closed eliperelman closed 5 years ago
The fix for this is to pass the allowExternal: true
option to the clean middleware. We do not want to do this by default as it poses a risk to the user for accidentally deleting unintended directories.
Instead, the fix for this issue will involve adding a new section to the clean middleware docs outlining how to use the option to remove directories outside of the project directory using this option.
Hi! I would like to work on this.
@Aditi574 feel free! As mentioned in my previous comment this would be a documentation change in the docs
directory as well as the README in the clean package:
Instead, the fix for this issue will involve adding a new section to the clean middleware docs outlining how to use the option to remove directories outside of the project directory using this option.
@eliperelman please review my PR #723. Thanks!
If you override the
output
directory like so:The
clean
middleware/plugin no longer works.