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()], -}) +});