fix(ext-ci): web-ext v8 .cjs config workaround #17
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
PR #16 merged to main but
sign-extensionfailed on the post-mergebuild.ymlrun:web-ext v8 mis-parses
web-ext-config.cjs— it treats the top-levelmodule.exportsassignment as a config option key rather than the CommonJS export. Known web-ext v8 issue.Fix
Delete
extension/web-ext-config.cjsand move its settings (ignoreFiles list) onto the CLI in eachpackage.jsonscript. Also add--no-config-discoveryto prevent web-ext from trying to auto-load any remaining config file. No functional change — same files ignored, same source-dir, same channel.After this PR merges,
build.ymlre-runs on main →sign-extensionshould hit AMO for v1.0.2 → upload toext-1.0.2Forgejo release →build-webbundles the XPI →:latestimage carries the bundled extension. Then the v26.05.25.5 release tag gets cut at that HEAD.🤖 Generated with Claude Code