posthtml-minify-classnames::envelope_with_arrow:重写HTML和CSS文件中的类名和ID以减小文件大小

时间:2021-05-13 05:09:45
【文件属性】:
文件名称:posthtml-minify-classnames::envelope_with_arrow:重写HTML和CSS文件中的类名和ID以减小文件大小
文件大小:159KB
文件格式:ZIP
更新时间:2021-05-13 05:09:45
JavaScript posthtml-minify-classnames posthtml-minify-classnames是一个插件,可重写html和css文件内部的类名和ID以减小文件大小。 缩小类名可让您在源代码中编写冗长的类名,并将较小的包分发给用户或应用程序。 用例包括: 小型代码竞赛,例如 嵌入式设备,例如路由器管理面板,例如 移动和响应网站,以保持较低的延迟,例如 posthtml-minify-classnames支持svg href属性。 前: < html > < style > # some-id { text-transform : uppercase; } . header__intro { color : blue; } . card--profile { background : w
【文件预览】:
posthtml-minify-classnames-master
----.travis.yml(79B)
----.eslintrc(224B)
----.lintstagedrc(27B)
----index.js(50B)
----package.json(1KB)
----readme.md(6KB)
----test()
--------plugin.js(15KB)
----LICENSE(1KB)
----package-lock.json(277KB)
----.npmignore(147B)
----.huskyrc(60B)
----.gitignore(103B)
----lib()
--------index.js(4KB)
--------emoji-list-compiled.js(8KB)
--------name-generators.js(1KB)
----yarn.lock(197KB)

网友评论