vite-plugin-src
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

vite-plugin-src

set vite root directory to src and fix other directory

Usage

npm install vite-plugin-src -D
// vite.config.js
import { defineConfig } from 'vite'
import { ViteSrcPlugin } from 'vite-plugin-src'

export default defineConfig({
  plugins: [ViteSrcPlugin()],
})

Package Sidebar

Install

npm i vite-plugin-src

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

5.06 kB

Total Files

12

Last publish

Collaborators

  • weiyou