Vue scaffolding cleaning dist

vue scaffolding cleans out the dist directory after each package. In the course of learning webpack, I knew that I was using clean-webpack-plugin, but I didn"t see this plugin in the vue scaffolding. Want to know exactly what vue scaffolding uses to clean up.

because we are currently developing Mini Program with mpvue framework, but sometimes mpvue framework can not give full play to its advantages, and sometimes we still need to use Mini Program"s native code. But every time he build, he will just erase my dist folder. It"s embarrassing. I know he"s like vue scaffolding. But I never found out how he cleaned up the dist folder.

or, please give me some ideas on how to use mpvue plus native Mini Program development at the same time.

Apr.07,2021

it's easy to delete directory codes. Authors don't necessarily have to use plug-ins


rm -rf dist

to switch to the package directory and directly rm-rf dist to delete

.
Menu