Socket
Book a DemoInstallSign in
Socket

@aligov/build-adapter-plugin

Package Overview
Dependencies
Maintainers
16
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aligov/build-adapter-plugin

build-scripts plugin for developers

latest
npmnpm
Version
0.1.2
Version published
Maintainers
16
Created
Source

adapter-plugin

用法

STEP1: 安装 plugin

tnpm i @aligov/build-adapter-plugin

STEP2: 配置 plugin

参数名说明必填类型默认值备注
entry入口文件非必填string'src/index.ts'
target输出文件名非必填string'build'
filename输出目标目录非必填string'index'
/* build.json */
plugins: [
  ['@aligov/build-adapter-plugin', {
    /* 入口文件*/
    entry:"src/index.ts",
    /* 输出文件名 */
    filename: 'index',
    /* 输出目标目录 */
     target: "build",
  }]
]

STEP3: npm run build

FAQs

Package last updated on 09 Mar 2021

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