1.1.0 • Published 3 years ago
vite-plugin-src v1.1.0
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()],
})