From e5cac38f9d40af2f45f7e98f0967a782d6d3aa9b Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Wed, 25 Jan 2023 18:27:20 +0100 Subject: [PATCH] Disable sourcemaps on the output --- vite.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 680ff86..612e539 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,7 +4,6 @@ import package_ from "./package.json"; export default defineConfig({ build: { - sourcemap: true, target: "esnext", lib: { entry: path.resolve("./src/index.js"), @@ -25,4 +24,7 @@ export default defineConfig({ }, }, }, + css: { + devSourcemap: true + } });