From 007658092716034dea48a7ddb11c0163c55ee782 Mon Sep 17 00:00:00 2001 From: Arno V Date: Mon, 4 Dec 2023 14:39:09 -0500 Subject: [PATCH] feat: adding sourcemaps to production builds --- packages/ui-components/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui-components/vite.config.ts b/packages/ui-components/vite.config.ts index d0c2fc38..c4a96f04 100644 --- a/packages/ui-components/vite.config.ts +++ b/packages/ui-components/vite.config.ts @@ -21,6 +21,7 @@ const buildTime = new Date() export default defineConfig({ build: { + sourcemap: true, copyPublicDir: false, lib: { entry: resolve(__dirname, "src/components/index.ts"),