Skip to content

Commit

Permalink
fix: do not minify build
Browse files Browse the repository at this point in the history
try to resolve: #166
try to resolve: #109
  • Loading branch information
northword committed Mar 26, 2024
1 parent 674e1e4 commit c783b25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- 不在对构建结果最小化,以解决部分未知错误。try to resolve: [#166](https://github.com/northword/zotero-format-metadata/issues/166), [#109](https://github.com/northword/zotero-format-metadata/issues/109)

## [1.15.1] - 2024-03-18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const esbuildOptions = {
target: "firefox102",
outfile: path.join(buildDir, `addon/content/scripts/${config.addonRef}.js`),
// Don't turn minify on
minify: env.NODE_ENV === "production",
// minify: env.NODE_ENV === "production",
};

export async function main() {
Expand Down

0 comments on commit c783b25

Please sign in to comment.