🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

choice-add-script-webpack

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

choice-add-script-webpack

webpack插件,拓展html-webpack-plugin插件,在html-webpack-plugin处理html之前,写入需要引入的js文件

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

webpack插件,拓展html-webpack-plugin插件,在html-webpack-plugin处理html之前,写入需要引入的js文件

调用方法如下:

new ChoiceAddScipt({
  paths: ["./demo.js"]
}),

API

属性说明类型默认值
options入参options对象object
-paths需要加入的js文件路径组成的数据,数组长度为添加script标签的个数string[]

Keywords

webpach

FAQs

Package last updated on 11 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts