html-mini-loader

1.2.0 • Public • Published

If you want to reference template files in a project, compressing HTML is a very common requirement, so develop html-mini-loader for matching HTML template files are compressed.

Application method

  • The configuration in the webpack.config.js file is as follows
module: {
rules: [{
    test: /\.html\$/,
    use: ['html-loader', 'html-mini-loader'] // html-mini-loader => html-loader => webpack
}]
}
}

Readme

Keywords

Package Sidebar

Install

npm i html-mini-loader

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

2.23 kB

Total Files

4

Last publish

Collaborators

  • changyi1997