1.0.0-beta • Published 5 years ago
@dual-lab/html-module-webpack-plugin v1.0.0-beta
html-module-webpack-plugin
Github action release | Github action wrap-up |
---|---|
About this Repo
This repo contains a webpack plugin, that add the type='module'
to
html script tags.
Install
User yout favorite package manager to install the latest version
yarn add @dual-lab/html--module-webpack-plugin --dev
or
npm i @dual-lab/html--module-webpack-plugin --save-dev
Usage
Add this plugin after the HtmlWebpackPlugin
{
...other options,
plugin: [
new HtmlWebpackPlugin(options),
new HtmlModuleWebpackPlugin(options)
]
}
Plugin options :
- exclude: array of glob pattern exclude.
1.0.0-beta
5 years ago