Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
terehov committed Aug 7, 2023
1 parent a7ed0e7 commit 306d4e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions examples/sveltekit_vite/vite-example/src/main.ts
Original file line number Diff line number Diff line change
@@ -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<any> = new Logger();
log.silly("I am a silly log.");


const app = new App({
target: document.getElementById('app'),
})
target: document.getElementById("app"),
});

export default app
export default app;
4 changes: 2 additions & 2 deletions examples/sveltekit_vite/vite-example/svelte.config.js
Original file line number Diff line number Diff line change
@@ -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(),
}
};
6 changes: 3 additions & 3 deletions examples/sveltekit_vite/vite-example/vite.config.ts
Original file line number Diff line number Diff line change
@@ -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()],
})
});

0 comments on commit 306d4e1

Please sign in to comment.