@dual-lab/html-module-webpack-plugin
v1.0.0-beta
Published
HTML module webpack plugin
Downloads
15
Readme
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.
