Skip to content

Commit

Permalink
fix: remove commonjsOptions from Nx setup (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalenguyen committed Apr 25, 2024
1 parent 10744de commit 2dcf391
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion apps/analog-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default defineConfig(({ mode }) => {
build: {
outDir: '../../dist/apps/analog-app/client',
reportCompressedSize: true,
commonjsOptions: { transformMixedEsModules: true },
target: ['es2020'],
},
optimizeDeps: {
Expand Down
1 change: 0 additions & 1 deletion apps/blog-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig(() => {
build: {
outDir: '../../dist/apps/blog-app/client',
reportCompressedSize: true,
commonjsOptions: { transformMixedEsModules: true },
target: ['es2020'],
},
plugins: [
Expand Down
1 change: 0 additions & 1 deletion apps/ng-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default defineConfig(({ mode }) => ({
build: {
outDir: '../../dist/apps/ng-app/client',
reportCompressedSize: true,
commonjsOptions: { transformMixedEsModules: true },
target: ['es2020'],
},
resolve: {
Expand Down
1 change: 0 additions & 1 deletion apps/trpc-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default defineConfig(({ mode }) => {
build: {
outDir: '../../dist/apps/trpc-app/client',
reportCompressedSize: true,
commonjsOptions: { transformMixedEsModules: true },
target: ['es2020'],
},
plugins: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export default defineConfig(({ mode }) => {
<% } %>
build: {
outDir: '<%= offsetFromRoot %>dist/<%= projectRoot %>/client',
reportCompressedSize: true,
commonjsOptions: { transformMixedEsModules: true },
reportCompressedSize: true,
target: ['es2020'],
},
server: {
Expand Down

0 comments on commit 2dcf391

Please sign in to comment.