1.0.3 • Published 6 years ago

html-webpack-add-module-plugin v1.0.3

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

htmlWebpackAddModulePlugin

add script attribute type module or nomodule

Usage

npm i html-webpack-add-module-plugin -D
// webpack.conf.js
const htmlWebpackAddModulePlugin = require('html-webpack-add-module-plugin')


plugin:{
	new htmlWebpackAddModulePlugin({
      module: '', //  if key in src, change type attribute to module, if `module:'all'` , change all
      nomodule:'', //  same as above , add nomodule attribute
      removeCSS:'' // can remove css
    }),
}
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago