🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@voya-kit/vite-config

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voya-kit/vite-config

Voya vite config

latest
npmnpm
Version
0.0.13
Version published
Weekly downloads
1
-88.89%
Maintainers
0
Weekly downloads
 
Created
Source

voya vite config

vite 版本

{
    "dependencies": {
        "vite": "^4.4.0"
    }
 }

项目介绍

@voya-kit/vite-config 是Vite配套的配置、工具与插件集合,主要为了简化配置流程,提升开发体验。本项目分为三大核心部分:configpluginutil

目录结构与说明

vite Config 配置模块

📁 application

  • 针对整个应用级别的基础配置。

📁 common

  • 提供一组通用配置项。

📁 package

  • 特定于包或模块的配置。

vite Plugin 插件集

📂 appConfig

  • 注入统一应用配置,如环境变量等。

📂 compress

  • 资源压缩插件。

📂 html

  • 自定义 HTML 模版处理插件。

📂 version

  • 资源版本控制插件。

📂 visualizer

  • 依赖关系可视化插件,生成交互式图表,帮助分析和优化项目依赖。

快速上手

  • 安装: 通过 npm 将本项目加入到你的依赖中。

    npm install @voya-kit/vite-config --save-dev
    
  • 配置引入: 在你的 vite.config.js 中引入相应的配置和插件,根据项目需求自由组合。

    import { defineApplicationConfig } from '@voya-kit/vite-config';
    
    export default defineApplicationConfig({
      overrides: {
        ...
      },
    });
    

Keywords

voya

FAQs

Package last updated on 26 Jun 2024

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