Skip to content

Commit

Permalink
chore: update esbuild to 0.16.2 (#11265)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Dec 8, 2022
1 parent feb8ce0 commit e1d8d46
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 73 deletions.
2 changes: 1 addition & 1 deletion packages/vite/package.json
Expand Up @@ -58,7 +58,7 @@
},
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
"dependencies": {
"esbuild": "^0.16.1",
"esbuild": "^0.16.2",
"postcss": "^8.4.19",
"resolve": "^1.22.1",
"rollup": "^3.6.0"
Expand Down
2 changes: 0 additions & 2 deletions packages/vite/src/node/plugins/esbuild.ts
Expand Up @@ -128,8 +128,6 @@ export async function transformWithEsbuild(
}

const resolvedOptions = {
// esbuild 0.16.0 & 0.16.1 defaults to 'browser': https://github.com/evanw/esbuild/issues/2718
platform: 'neutral',
sourcemap: true,
// ensure source file name contains full query
sourcefile: filename,
Expand Down
140 changes: 70 additions & 70 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1d8d46

Please sign in to comment.