
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
choice-add-script-webpack
Advanced tools
webpack插件,拓展html-webpack-plugin插件,在html-webpack-plugin处理html之前,写入需要引入的js文件
webpack插件,拓展html-webpack-plugin插件,在html-webpack-plugin处理html之前,写入需要引入的js文件
调用方法如下:
new ChoiceAddScipt({
paths: ["./demo.js"]
}),
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| options | 入参options对象 | object | |
| -paths | 需要加入的js文件路径组成的数据,数组长度为添加script标签的个数 | string[] |
FAQs
webpack插件,拓展html-webpack-plugin插件,在html-webpack-plugin处理html之前,写入需要引入的js文件
The npm package choice-add-script-webpack receives a total of 0 weekly downloads. As such, choice-add-script-webpack popularity was classified as not popular.
We found that choice-add-script-webpack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.