mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
10 lines
234 B
TypeScript
10 lines
234 B
TypeScript
import path from 'node:path'
|
|
import url from 'node:url'
|
|
import { defineConfig } from 'vite'
|
|
|
|
const __dirname = path.dirname(url.fileURLToPath(import.meta.url))
|
|
|
|
export default defineConfig({
|
|
root: path.join(__dirname, './root'),
|
|
})
|