Package Exports
- @moomfe/hu-template-minifier
- @moomfe/hu-template-minifier/rollup
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@moomfe/hu-template-minifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Hu-Template-Minifier
该类库将使用了 模板字符串 - 标签 ( Template Strings ) 功能实现模板定义的类库中的 HTML 代码进行压缩.
Installation
npm install @moomfe/hu-template-minifier
// 使用 minifier 方法
const minifier = require('@moomfe/hu-template-minifier');
// 使用 minifier 的 rollup 插件
const minifier = require('@moomfe/hu-template-minifier/rollup');