From c93ea897eb1f7826b3a9aef8c8e1a1afdc48d09f Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 17 Jun 2021 12:41:13 -0300 Subject: [PATCH] Add sourcemaps and remove comments Signed-off-by: Sebastian Martinez --- svelte.config.js | 2 -- vite.config.ts | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/svelte.config.js b/svelte.config.js index 7714a5120..a0bf9d7b0 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,7 +1,5 @@ import sveltePreprocess from "svelte-preprocess"; export default { - // Consult https://github.com/sveltejs/svelte-preprocess - // for more information about preprocessors preprocess: sveltePreprocess(), }; diff --git a/vite.config.ts b/vite.config.ts index b590b05a6..fad03381d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,8 @@ const config: UserConfig = { }, }, build: { - outDir: "build" + outDir: "build", + sourcemap: true } };