From 32173bb369c936eeb1d59b236c5b54248b945168 Mon Sep 17 00:00:00 2001 From: Cedric Rossi Date: Sat, 15 Jul 2023 17:46:32 +0200 Subject: [PATCH] Nettoyage --- svelte.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index fdf4938..e7b1ecb 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -2,8 +2,6 @@ import preprocess from 'svelte-preprocess'; import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/kit/vite'; -const dev = process.argv.includes('dev'); - /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: [ @@ -19,10 +17,7 @@ const config = { assets: 'build', fallback: null, precompress: false, - strict: true, - paths: { - base: dev ? '' : process.env.BASE_PATH - } + strict: true }) }, onwarn(warning, defaultHandler) {