Home > @lynx-js/rspeedy > Output > cleanDistPath
The Output.cleanDistPath option determines whether all files in the output directory (default: dist
) are removed before the build starts.
Signature:
By default, if the output directory is a subdirectory of the project root path, Rspeedy will automatically clean all files in the build directory.
When output.distPath.root is an external directory or the same as the project root directory, cleanDistPath
is not enabled by default to prevent accidental deletion of files from other directories.