Created by: yicheny
Currently, webpack5 caching is not working
If the cache was in effect, it would generate files with a '.pack' suffix, like :
And now, the generated result looks like this:
The reason is that 'compiler.close()' is not called
webpack will generate the cache in 'compiler.close()'
Run 'npm run build' to verify the effect
has a huge impact on compilation speed in a project