Skip to content

roman-dector/vite-wessberg-di

Repository files navigation

vite-wessberg-di

Vite plugin for @wessberg/di-compiler.
Working with @wessberg/di.

Install

npm i vite-wessberg-di @wessberg/di

Note that there is no need to install @wessberg/di-compiler in addition to vite-wessberg-di

Usage

Just add this plugin to vite config plugins array.

// vite.config.ts

import di from "vite-wessberg-di"

export default defineConfig({
  plugins: [di()],

  // ...rest config options
})

About

Vite plugin for Wessberg DI Custom Transformer

Resources

Stars

Watchers

Forks