From db14d817d141117410aa416f2d7cee8e7fa192d5 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Wed, 13 Mar 2024 12:14:01 +0100 Subject: [PATCH] format --- examples/base-url/vike.config.ts | 4 +--- examples/file-structure-domain-driven/vike.config.ts | 4 +--- examples/i18n/vike.config.ts | 2 +- examples/i18n/vite.config.js | 5 +---- examples/path-aliases/vike.config.ts | 3 +-- examples/path-aliases/vite.config.ts | 6 +----- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/examples/base-url/vike.config.ts b/examples/base-url/vike.config.ts index 494b829571..b93b26fff5 100644 --- a/examples/base-url/vike.config.ts +++ b/examples/base-url/vike.config.ts @@ -1,5 +1,3 @@ import type { ConfigGlobal } from 'vike/types' -export default { prerender: true - -} satisfies ConfigGlobal +export default { prerender: true } satisfies ConfigGlobal diff --git a/examples/file-structure-domain-driven/vike.config.ts b/examples/file-structure-domain-driven/vike.config.ts index 5d8d5ba6f2..b93b26fff5 100644 --- a/examples/file-structure-domain-driven/vike.config.ts +++ b/examples/file-structure-domain-driven/vike.config.ts @@ -1,5 +1,3 @@ import type { ConfigGlobal } from 'vike/types' -export default -{ prerender: true -} satisfies ConfigGlobal +export default { prerender: true } satisfies ConfigGlobal diff --git a/examples/i18n/vike.config.ts b/examples/i18n/vike.config.ts index c8df5dcdbb..78f48d74a9 100644 --- a/examples/i18n/vike.config.ts +++ b/examples/i18n/vike.config.ts @@ -1,5 +1,5 @@ import type { ConfigGlobal } from 'vike/types' export default { - prerender: true + prerender: true } satisfies ConfigGlobal diff --git a/examples/i18n/vite.config.js b/examples/i18n/vite.config.js index f96c3dc233..243de2b67c 100644 --- a/examples/i18n/vite.config.js +++ b/examples/i18n/vite.config.js @@ -2,8 +2,5 @@ import react from '@vitejs/plugin-react' import vike from 'vike/plugin' export default { - plugins: [ - react(), - vike() - ] + plugins: [react(), vike()] } diff --git a/examples/path-aliases/vike.config.ts b/examples/path-aliases/vike.config.ts index 59c369781a..78f48d74a9 100644 --- a/examples/path-aliases/vike.config.ts +++ b/examples/path-aliases/vike.config.ts @@ -1,6 +1,5 @@ import type { ConfigGlobal } from 'vike/types' export default { - prerender: true - + prerender: true } satisfies ConfigGlobal diff --git a/examples/path-aliases/vite.config.ts b/examples/path-aliases/vite.config.ts index 2add665ee3..31b1255999 100644 --- a/examples/path-aliases/vite.config.ts +++ b/examples/path-aliases/vite.config.ts @@ -8,11 +8,7 @@ const config: UserConfig = { '#root': __dirname } }, - plugins: [ - react(), - vike( - ) - ], + plugins: [react(), vike()], optimizeDeps: { include: ['react-dom/client'] }