且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何自动缩小PhpStorm/WebStorm中的html文件?

更新时间:2022-05-20 09:18:30

我建议您查看 HTMLMinifier -具有CLI,因此可以将其设置为文件监视程序,也可以将其配置为 Grunt任务 Gulp任务,并使用Grant/Gulp控制台执行

I'd suggest looking at HTMLMinifier - it has CLI and thus can be set up as a file watcher, also it can be configured as Grunt task or Gulp task and executed using Grant/Gulp console