chore(CI): upload sourcemap to posthog
This commit is contained in:
@@ -77,6 +77,12 @@ jobs:
|
||||
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
|
||||
S3_REGION: ${{ secrets.S3_REGION }}
|
||||
WARP_DRIVE_PUBLIC_BASE: ${{ secrets.WARP_DRIVE_PUBLIC_BASE }}
|
||||
- name: Inject & upload source maps to PostHog
|
||||
uses: PostHog/upload-source-maps@v0.4.6
|
||||
with:
|
||||
directory: ${{ matrix.dist_directory }}
|
||||
env-id: ${{ secrets.POSTHOG_ENV_ID }}
|
||||
cli-token: ${{ secrets.POSTHOG_TOKEN }}
|
||||
- uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
|
||||
@@ -67,6 +67,9 @@ export default defineConfig({
|
||||
],
|
||||
},
|
||||
},
|
||||
build: {
|
||||
sourcemap: true,
|
||||
},
|
||||
|
||||
plugins: [
|
||||
Info(),
|
||||
|
||||
Reference in New Issue
Block a user