mirror of https://github.com/halo-dev/halo-admin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
422 B
19 lines
422 B
import { defineConfig } from "vitest/config"; |
|
import Vue from "@vitejs/plugin-vue"; |
|
import VueJsx from "@vitejs/plugin-vue-jsx"; |
|
import { fileURLToPath, URL } from "url"; |
|
|
|
export default defineConfig({ |
|
plugins: [Vue(), VueJsx()], |
|
resolve: { |
|
alias: { |
|
"@": fileURLToPath(new URL("./src", import.meta.url)), |
|
}, |
|
}, |
|
test: { |
|
dir: "./src", |
|
transformMode: { |
|
web: [/\.[jt]sx$/], |
|
}, |
|
}, |
|
});
|
|
|