Skip to content

fix(build): add missing await for buildInProduction()#160

Merged
northword merged 1 commit intozotero-plugin-dev:mainfrom
l0o0:fix/await-build-in-production
Feb 7, 2026
Merged

fix(build): add missing await for buildInProduction()#160
northword merged 1 commit intozotero-plugin-dev:mainfrom
l0o0:fix/await-build-in-production

Conversation

@l0o0
Copy link
Copy Markdown
Contributor

@l0o0 l0o0 commented Feb 7, 2026

buildInProduction() is an async method that packs the XPI and generates update.json. Without await, the build process completes before the XPI file is actually written, resulting in no XPI output in production builds.

`buildInProduction()` is an async method that packs the XPI and
generates update.json. Without `await`, the build process completes
before the XPI file is actually written, resulting in no XPI output
in production builds.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 7, 2026

npm i https://pkg.pr.new/zotero-plugin-scaffold@160

commit: b20be61

@northword northword merged commit 344b691 into zotero-plugin-dev:main Feb 7, 2026
6 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants