fix: add context: globalThis to rollup config to suppress this-is-undefined warning

Agent-Logs-Url: https://github.com/marocchino/sticky-pull-request-comment/sessions/d06505e0-ed2a-4dff-841c-baf27a74d54e

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-05 07:38:22 +00:00 committed by GitHub
parent c4fbe28317
commit 6e06a5b4b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 49 additions and 583 deletions

View file

@ -5,6 +5,7 @@ import nodeResolve from "@rollup/plugin-node-resolve"
import typescript from "@rollup/plugin-typescript"
const config = {
context: "globalThis",
input: "src/main.ts",
output: {
exports: "auto",