From d57a8cae5061310f47fa88e841cedc130852fe0a 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 + } });