Output file during webpack hot UPDAT

webpack hot updates always put files in memory, how to make it output files to hard disk during hot updates?

Mar.13,2021

1. At present, there is no direct configuration item can do this, it is estimated that you have to write a plug-in, or modify the source code of webpack-dev-server, there is no configuration item
2. Do not understand why you have this need
3. Referring to http://www.voidcn.com/article., someone has implemented this function
4. You can refer to the plug-ins https://github.com/gajus/writ., and https://github.com/Formidable.

.
Menu