diff --git a/apps/admin-x-design-system/vite.config.ts b/apps/admin-x-design-system/vite.config.ts index fa9cfad51e..2942416c43 100644 --- a/apps/admin-x-design-system/vite.config.ts +++ b/apps/admin-x-design-system/vite.config.ts @@ -19,6 +19,7 @@ export default (function viteConfig() { port: 4174 }, build: { + reportCompressedSize: false, minify: false, sourcemap: true, outDir: 'es', diff --git a/apps/admin-x-framework/vite.config.ts b/apps/admin-x-framework/vite.config.ts index ecbd265e72..b1bfd329cf 100644 --- a/apps/admin-x-framework/vite.config.ts +++ b/apps/admin-x-framework/vite.config.ts @@ -1,7 +1,7 @@ import react from '@vitejs/plugin-react'; import glob from 'glob'; -import { resolve } from 'path'; -import { defineConfig } from 'vitest/config'; +import {resolve} from 'path'; +import {defineConfig} from 'vitest/config'; // https://vitejs.dev/config/ export default (function viteConfig() { @@ -17,6 +17,7 @@ export default (function viteConfig() { port: 4174 }, build: { + reportCompressedSize: false, minify: false, sourcemap: true, outDir: 'es', diff --git a/apps/admin-x-settings/vite.config.ts b/apps/admin-x-settings/vite.config.ts index f8c81afd14..7d0eeea0cf 100644 --- a/apps/admin-x-settings/vite.config.ts +++ b/apps/admin-x-settings/vite.config.ts @@ -54,6 +54,7 @@ export default (function viteConfig() { port: 4174 }, build: { + reportCompressedSize: false, minify: true, sourcemap: true, lib: { diff --git a/apps/announcement-bar/vite.config.js b/apps/announcement-bar/vite.config.js index 06154d8b6d..bd5b31d0d3 100644 --- a/apps/announcement-bar/vite.config.js +++ b/apps/announcement-bar/vite.config.js @@ -45,6 +45,7 @@ export default defineConfig((config) => { build: { outDir: resolve(__dirname, 'umd'), emptyOutDir: true, + reportCompressedSize: false, minify: true, sourcemap: true, cssCodeSplit: true, diff --git a/apps/comments-ui/vite.config.ts b/apps/comments-ui/vite.config.ts index f882082972..f41855fb6e 100644 --- a/apps/comments-ui/vite.config.ts +++ b/apps/comments-ui/vite.config.ts @@ -31,6 +31,7 @@ export default (function viteConfig() { port: 5368 }, build: { + reportCompressedSize: false, outDir: resolve(__dirname, 'umd'), emptyOutDir: true, minify: true, diff --git a/apps/portal/vite.config.js b/apps/portal/vite.config.js index 82d7ec4005..b628963829 100644 --- a/apps/portal/vite.config.js +++ b/apps/portal/vite.config.js @@ -53,6 +53,7 @@ export default defineConfig((config) => { build: { outDir: resolve(__dirname, 'umd'), emptyOutDir: true, + reportCompressedSize: false, minify: true, sourcemap: true, cssCodeSplit: false, diff --git a/apps/signup-form/vite.config.ts b/apps/signup-form/vite.config.ts index 20ae4ba636..b7c2b8e97c 100644 --- a/apps/signup-form/vite.config.ts +++ b/apps/signup-form/vite.config.ts @@ -29,6 +29,7 @@ export default (function viteConfig() { }, build: { outDir: resolve(__dirname, 'umd'), + reportCompressedSize: false, emptyOutDir: true, minify: true, sourcemap: true, diff --git a/apps/sodo-search/vite.config.js b/apps/sodo-search/vite.config.js index ab69e4687f..fd51530075 100644 --- a/apps/sodo-search/vite.config.js +++ b/apps/sodo-search/vite.config.js @@ -50,6 +50,7 @@ export default defineConfig((config) => { }, build: { outDir: resolve(__dirname, 'umd'), + reportCompressedSize: false, emptyOutDir: true, minify: true, sourcemap: true,