From b90f04ae9b6f11ef65455611dea0e20ff93f7257 Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Fri, 17 May 2024 19:07:16 +0100 Subject: [PATCH] chore(vite): update snapshots in other packages for emptyOutDir (#23502) ## Current Behavior ## Expected Behavior ## Related Issue(s) Fixes # --- .../src/generators/library/__snapshots__/library.spec.ts.snap | 1 + .../src/generators/preset/__snapshots__/preset.spec.ts.snap | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/js/src/generators/library/__snapshots__/library.spec.ts.snap b/packages/js/src/generators/library/__snapshots__/library.spec.ts.snap index 33bea35d9df15..879a908e166ec 100644 --- a/packages/js/src/generators/library/__snapshots__/library.spec.ts.snap +++ b/packages/js/src/generators/library/__snapshots__/library.spec.ts.snap @@ -28,6 +28,7 @@ export default defineConfig({ // See: https://vitejs.dev/guide/build.html#library-mode build: { outDir: '../dist/my-lib', + emptyOutDir: true, reportCompressedSize: true, commonjsOptions: { transformMixedEsModules: true, diff --git a/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap b/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap index 5c4a55cb2bde8..fbf8af63e9cc2 100644 --- a/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap +++ b/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap @@ -99,6 +99,7 @@ export default defineConfig({ build: { outDir: './dist/proj', + emptyOutDir: true, reportCompressedSize: true, commonjsOptions: { transformMixedEsModules: true, @@ -186,6 +187,7 @@ export default defineConfig({ build: { outDir: '../../dist/apps/proj', + emptyOutDir: true, reportCompressedSize: true, commonjsOptions: { transformMixedEsModules: true, @@ -239,6 +241,7 @@ export default defineConfig({ build: { outDir: './dist/proj', + emptyOutDir: true, reportCompressedSize: true, commonjsOptions: { transformMixedEsModules: true,