chore: update vitest to be able to parse Vue components

This commit is contained in:
Andrew Bastin
2023-07-04 14:51:31 +05:30
parent 833e11ab0b
commit 235deb113c

View File

@@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config"
import * as path from "path"
import Icons from "unplugin-icons/vite"
import { FileSystemIconLoader } from "unplugin-icons/loaders"
import Vue from "@vitejs/plugin-vue"
export default defineConfig({
test: {
@@ -18,6 +19,7 @@ export default defineConfig({
},
},
plugins: [
Vue(),
Icons({
compiler: "vue3",
customCollections: {