resize html's fontSize in mobile
npm install add-asset-to-html-plugin
Add a JavaScript or CSS asset to the HTML generated by html-webpack-plugin
`Installation
Install the plugin with npm or yarn:
`
$ npm i add-asset-to-html-plugin -D
$ yarn add add-asset-to-html-plugin -D
`Options
**
Options are passed to the plugin during instantiation.
`
new AddAssetHtmlPlugin([
{ filepath: require.resolve('./antd.js') },
{
filepath: require.resolve('./test.js'),
isModule: true,
assetLocation: 'head'
},
])
``The absolute path of the file you want to add to the compilation, and resulting HTML file. Also support globby string.
if set true, will add file data to html's script without src
First of all, it will be enable with isModule is true. default being added into
, if set frontOfOtherScripts, will add