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,