2023-02-12 13:50:03 +01:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
2023-02-13 19:05:56 +01:00
|
|
|
import pugPlugin from "vite-plugin-pug"
|
|
|
|
|
|
|
|
const options = {}
|
|
|
|
const locals = { name: "My Pug" }
|
2023-02-12 13:50:03 +01:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2023-02-13 19:05:56 +01:00
|
|
|
plugins: [
|
|
|
|
vue(),
|
|
|
|
pugPlugin(options, locals)],
|
|
|
|
})
|