Skip to content

fix: check if window is available before using on web env #208

fix: check if window is available before using on web env

fix: check if window is available before using on web env #208

Workflow file for this run

name: Bundled Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: preactjs/compressed-size-action@v2
with:
pattern: 'posthog-{web,node}/lib/**/*.js'