chore: update vitest to be able to parse Vue components
This commit is contained in:
@@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config"
|
|||||||
import * as path from "path"
|
import * as path from "path"
|
||||||
import Icons from "unplugin-icons/vite"
|
import Icons from "unplugin-icons/vite"
|
||||||
import { FileSystemIconLoader } from "unplugin-icons/loaders"
|
import { FileSystemIconLoader } from "unplugin-icons/loaders"
|
||||||
|
import Vue from "@vitejs/plugin-vue"
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
test: {
|
test: {
|
||||||
@@ -18,6 +19,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Vue(),
|
||||||
Icons({
|
Icons({
|
||||||
compiler: "vue3",
|
compiler: "vue3",
|
||||||
customCollections: {
|
customCollections: {
|
||||||
|
|||||||
Reference in New Issue
Block a user