UNPKG

@ou-imdt/create

Version:

Command line tool to create team boilerplate.

30 lines (27 loc) 666 B
import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import path from 'node:path' import vueDevTools from 'vite-plugin-vue-devtools' export default defineConfig({ base: "", build: { target: "esnext" }, plugins: [ vue({ template: { compilerOptions: { isCustomElement: (tag) => { tag.startsWith('imdt-') } } } }), vueDevTools(), ], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), 'imd-icons': path.resolve(__dirname, './node_modules/@awesome.me/kit-4b5ffe0e68') } } })