Skip to content

Commit

Permalink
fix: add esbuild config to drop console in prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
LookRain committed Feb 22, 2024
1 parent 9e4907d commit 49730e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ module.exports = {
new EsbuildPlugin({
loader: "tsx",
target: "es2020",
drop: ["console"],
}),
],
splitChunks: {
Expand Down

0 comments on commit 49730e5

Please sign in to comment.