0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-27 16:26:50 +01:00
posthog/bin/copy-posthog-js
Paul D'Ambra ccc2056e38
feat: add dead clicks functionality (#25810)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-31 18:12:31 +00:00

16 lines
701 B
Bash
Executable File

#!/bin/sh
set -e
# This script copies the following built files from posthog-js so that they can served on PostHog's CDN
cp node_modules/posthog-js/dist/array.js* frontend/dist/
cp node_modules/posthog-js/dist/array.full.js* frontend/dist/
cp node_modules/posthog-js/dist/array.full.es5.js* frontend/dist/
cp node_modules/posthog-js/dist/recorder.js* frontend/dist/
cp node_modules/posthog-js/dist/recorder-v2.js* frontend/dist/
cp node_modules/posthog-js/dist/surveys.js* frontend/dist/
cp node_modules/posthog-js/dist/exception-autocapture.js* frontend/dist/
cp node_modules/posthog-js/dist/web-vitals.js* frontend/dist/
cp node_modules/posthog-js/dist/dead-clicks-autocapture.js* frontend/dist/