vite/playground/hmr-root/vite.config.ts
2023-11-10 10:00:22 +00:00

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'),
})