In webpack watch mode, why are there more assets files in the first emit than in the second emit?

write a plug-in because you need to process the final output file, which also involves dependent files.

in watch mode, you can get it from the assets of emit for the first time according to the file path. When the file is changed and recompiled, the corresponding content of this file cannot be found in the assets object of emit.

Dec.11,2021
Menu