1.0.0 • Published 1 year ago

@hadeshe93/vite-chain v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

A chainable tool work with vite just like "webpack-chain".

And i am still working on it.

Installation

$ npm install @hadeshe93/vite-chain

Usage

import ViteChain from '@hadeshe93/vite-chain';
import vue from '@vitejs/plugin-vue'
const chainConfig = new ViteChain();

const finalViteConfig =
  chainConfig
    .plugin('vue')
      .use(vue())
      .end()
    .toConfig();