编程小记-22.4.24
摘要:angular打包内存占用过高通过如下命令限制node --max_old_space_size=600 ./node_modules/@angular/cli/bin/ng build
angular打包内存占用过高
通过如下命令限制
node --max_old_space_size=600 ./node_modules/@angular/cli/bin/ng build
golang打包压缩体积
go build -ldflags '-w -s' -o main
upx main
(需要先安装upx)
js提取页面文本内容
document.documentElement.innerText