Skip to content

Commit

Permalink
fix: minify script on production build
Browse files Browse the repository at this point in the history
The file size exceeds 4MB without minify.  It reaches a file limitation
on AMO.
  • Loading branch information
ueokande committed Oct 1, 2023
1 parent 8c88af9 commit 9a10463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const buildScripts = async (browser) => {
bundle: true,
target: targets[browser],
sourcemap: "inline",
minify: process.env.NODE_ENV !== "development",
platform: "browser",
});
};
Expand Down

0 comments on commit 9a10463

Please sign in to comment.