Skip to content

Commit

Permalink
chore: maybe this time
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jul 9, 2024
1 parent 843aa4d commit b862279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/sanity/src/_internal/cli/server/getViteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export async function getViteConfig(options: ViteOptions): Promise<InlineConfig>
'process.env.MODE': JSON.stringify(mode),
...getStudioEnvironmentVariables({prefix: 'process.env.', jsonEncode: true}),
},
worker: {
format: 'es',
},
}

if (mode === 'production') {
Expand Down

0 comments on commit b862279

Please sign in to comment.