Skip to content

Commit

Permalink
fix(vite): do not set default target (#18454)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarini authored Aug 3, 2023
1 parent ccad52e commit bf5111c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/utils/options-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function getViteBuildOptions(
emptyOutDir: options.emptyOutDir,
reportCompressedSize: true,
cssCodeSplit: options.cssCodeSplit,
target: options.target ?? 'esnext',
target: options.target,
commonjsOptions: {
transformMixedEsModules: true,
},
Expand Down

1 comment on commit bf5111c

@vercel
Copy link

@vercel vercel bot commented on bf5111c Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.