props/scripts/npm_post_install.py

4 lines
215 B
Python

import clear_webpack_cache
clear_webpack_cache.clear() # Refer to https://webpack.js.org/guides/build-performance/#persistent-cache and https://webpack.js.org/blog/2020-10-10-webpack-5-release/#persistent-caching