webpack-insert-scripts-plugin

0.0.1 • Public • Published

A webpack plugin for users to insert scripts into index.HTML automatically

Install

npm i -D webpack-insert-scripts-plugin

Usage

const MyPlugin = require("webpack-insert-scripts-plugin");
let scriptAssets = ['https://www.your-scripts.com/aaa'];
...
plugins: [
    new MyPlugin({
        paths: scriptAssets  //将要在首页注入的scripts链接地址
    })
]

Release note

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-insert-scripts-plugin

Weekly Downloads

1

Version

0.0.1

License

none

Unpacked Size

11.8 kB

Total Files

9

Last publish

Collaborators

  • kuso_kaiser