Automatically execute scripts before and after executing npm run build
Original link: https://www.mqllin.cn/archives/198.html Automatically execute scripts before and after executing npm run build Record chatGPT’s Q&A: Question: In the angluar project, I wrote a compress.js script to automatically compress files after packaging. How to automatically execute the script every time I execute npm run build Answer: To automatically execute the compress.js script every time the […]
Automatically execute scripts before and after executing npm run build Read More »