From 14190bd9da7eebe9c14e0e376e0f7367696b4ca6 Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Fri, 24 May 2024 16:06:30 +0200 Subject: [PATCH] fix: app-ui types --- packages/app-ui/typed-scss-modules.config.ts | 1 + packages/app-ui/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app-ui/typed-scss-modules.config.ts b/packages/app-ui/typed-scss-modules.config.ts index 37308634f1..56f918a81e 100644 --- a/packages/app-ui/typed-scss-modules.config.ts +++ b/packages/app-ui/typed-scss-modules.config.ts @@ -1,6 +1,7 @@ export default { exportType: 'default', logLevel: 'error', + updateStaleOnly: true, additionalData: ` @import './node_modules/include-media/dist/_include-media.scss'; $breakpoints: ( diff --git a/packages/app-ui/vite.config.ts b/packages/app-ui/vite.config.ts index f478c817e9..4813048e41 100644 --- a/packages/app-ui/vite.config.ts +++ b/packages/app-ui/vite.config.ts @@ -45,7 +45,7 @@ export default defineConfig({ } }, }, - dts({ outDir: 'dist/types', insertTypesEntry: true, strictOutput: true }), + dts({ outDir: 'dist/types', insertTypesEntry: true, strictOutput: true, copyDtsFiles: true }), ], css: { preprocessorOptions: {