🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@hanyk/vite-plugin-build

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hanyk/vite-plugin-build

vite build插件

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
0
Created
Source

@dg/vite-plugin-build

使用 father build

安装

npm i @dg/vite-plugin-build
or
yarn add @dg/vite-plugin-build

API

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import build from '@dg/vite-plugin-build'

export default defineConfig({
  plugins: [
    react(),
    build({
      // father Config
      esm: {
        targets: {
          node: 20
        }
      },
      cjs: {
        targets: {
          node: 20
        }
      }
    })
  ]
})

FAQs

Package last updated on 21 Feb 2025

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