使用add-asset-html-webpack-plugin管理HTML中的静态资源

add-asset-html-webpack-plugin 是一个Webpack插件,允许开发者将 JavaScript 或 CSS 等静态资源直接添加到 html-webpack-plugin 生成的 HTML 文件中。

安装

使用 npm 安装 add-asset-html-webpack-plugin:

 npm install add-asset-html-webpack-plugin --save-dev 
zip 文件大小:129.93KB