From 306d4e1d06f28b5e28924a825df631937baf8bf0 Mon Sep 17 00:00:00 2001 From: Eugene Terehov Date: Mon, 7 Aug 2023 22:10:24 +0200 Subject: [PATCH] Prettier --- examples/sveltekit_vite/vite-example/src/main.ts | 11 +++++------ examples/sveltekit_vite/vite-example/svelte.config.js | 4 ++-- examples/sveltekit_vite/vite-example/vite.config.ts | 6 +++--- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/examples/sveltekit_vite/vite-example/src/main.ts b/examples/sveltekit_vite/vite-example/src/main.ts index 2b41bc5..583fe76 100644 --- a/examples/sveltekit_vite/vite-example/src/main.ts +++ b/examples/sveltekit_vite/vite-example/src/main.ts @@ -1,13 +1,12 @@ -import './app.css' -import App from './App.svelte' +import "./app.css"; +import App from "./App.svelte"; import { Logger } from "../../../../"; const log: Logger = new Logger(); log.silly("I am a silly log."); - const app = new App({ - target: document.getElementById('app'), -}) + target: document.getElementById("app"), +}); -export default app \ No newline at end of file +export default app; diff --git a/examples/sveltekit_vite/vite-example/svelte.config.js b/examples/sveltekit_vite/vite-example/svelte.config.js index b0683fd..de2ddd6 100644 --- a/examples/sveltekit_vite/vite-example/svelte.config.js +++ b/examples/sveltekit_vite/vite-example/svelte.config.js @@ -1,7 +1,7 @@ -import { vitePreprocess } from '@sveltejs/vite-plugin-svelte' +import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; export default { // Consult https://svelte.dev/docs#compile-time-svelte-preprocess // for more information about preprocessors preprocess: vitePreprocess(), -} +}; diff --git a/examples/sveltekit_vite/vite-example/vite.config.ts b/examples/sveltekit_vite/vite-example/vite.config.ts index d701969..5ac8ecf 100644 --- a/examples/sveltekit_vite/vite-example/vite.config.ts +++ b/examples/sveltekit_vite/vite-example/vite.config.ts @@ -1,7 +1,7 @@ -import { defineConfig } from 'vite' -import { svelte } from '@sveltejs/vite-plugin-svelte' +import { defineConfig } from "vite"; +import { svelte } from "@sveltejs/vite-plugin-svelte"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [svelte()], -}) +});