1.0.0-beta • Published 5 years ago

@dual-lab/html-module-webpack-plugin v1.0.0-beta

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

html-module-webpack-plugin

Github action releaseGithub action wrap-up
Relmain/master

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.