From a15eb835f4e609583b08a6b3a7289684cc4b527e Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Mon, 5 Aug 2024 15:50:48 +0200 Subject: [PATCH] format code --- web/explorer/vite.config.js | 18 +++++++++--------- web/explorer/vitest.config.js | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/web/explorer/vite.config.js b/web/explorer/vite.config.js index f80858ef..690aa027 100644 --- a/web/explorer/vite.config.js +++ b/web/explorer/vite.config.js @@ -1,13 +1,13 @@ -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' -import { viteSingleFile } from 'vite-plugin-singlefile' +import { defineConfig } from "vite"; +import vue from "@vitejs/plugin-vue"; +import { viteSingleFile } from "vite-plugin-singlefile"; // eslint-disable-next-line no-unused-vars export default defineConfig(({ command, mode }) => { - const isBundle = mode === 'bundle' + const isBundle = mode === "bundle"; - return { - base: isBundle ? '/' : '/capa/', - plugins: isBundle ? [vue(), viteSingleFile()] : [vue()] - } -}) + return { + base: isBundle ? "/" : "/capa/", + plugins: isBundle ? [vue(), viteSingleFile()] : [vue()] + }; +}); diff --git a/web/explorer/vitest.config.js b/web/explorer/vitest.config.js index abe5bba0..6b4ff3d5 100644 --- a/web/explorer/vitest.config.js +++ b/web/explorer/vitest.config.js @@ -1,12 +1,12 @@ -import { defineConfig } from 'vitest/config' -import vue from '@vitejs/plugin-vue' +import { defineConfig } from "vitest/config"; +import vue from "@vitejs/plugin-vue"; export default defineConfig({ - plugins: [vue()], - test: { - globals: true, - environment: 'jsdom', - exclude: ['node_modules', 'dist', '.idea', '.git', '.cache'], - include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], - } -}) \ No newline at end of file + plugins: [vue()], + test: { + globals: true, + environment: "jsdom", + exclude: ["node_modules", "dist", ".idea", ".git", ".cache"], + include: ["src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"] + } +});