Skip to content

Commit

Permalink
fix: add charset to esbuild build options
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Nov 2, 2022
1 parent c53ffec commit d992c3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/node/plugins/esbuild.ts
Expand Up @@ -375,6 +375,7 @@ export function resolveEsbuildTranspileOptions(
return {
...options,
minify: true,
charset: 'utf8',
treeShaking: true
}
}
Expand Down

0 comments on commit d992c3b

Please sign in to comment.