html-webpack-plugin-modify
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

html-webpack-plugin-modify

Usage

Install

npm html-webpack-plugin-modify

Webpack Configuration

module.exports = {
    // ...
    plugins: [
        new HtmlWebpackPlugin({
            // ...
        }),
        new HtmlWebpackPluginModify({
            // eg. if you want to remove <script type="module" scr="./index.ts"></script>
            remove: /<script.*?type="module".*?<\/script>/
        }),
    ]
}

Package Sidebar

Install

npm i html-webpack-plugin-modify

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.07 kB

Total Files

5

Last publish

Collaborators

  • shamisen