Home > @lynx-js/rspeedy > Output > cleanDistPath
Output.cleanDistPath property
The Output.cleanDistPath option determines whether all files in the output directory (default: dist) are removed before the build starts.
Signature:
Default Value
Automatically enabled when output.distPath.root is a subdirectory of the project root; otherwise disabled.
Example 1
- Disable cleaning files:
Example 2
- Only clean files before the production build: