2.0.2 • Published 3 years ago

html-webpack-script-attributes-plugin v2.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

html-webpack-script-attributes-plugin

Addon for the html-webpack-plugin to customize script attributes of script meta.

Usage

const HtmlWebpackPlugin = require('html-webpack-plugin')

// JS
const HtmlWebpackScriptAttributesPlugin = require('html-webpack-script-attributes-plugin').default

// TS
import HtmlWebpackScriptAttributesPlugin from 'html-webpack-script-attributes-plugin'

module.exports = {
  plugins: [
    new HtmlWebpackPlugin(),
    new HtmlWebpackScriptAttributesPlugin({
      crossorigin: 'anonymous'
    })
  ]
}
2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago