0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/bin/copy-posthog-js
2023-02-22 11:55:04 +00:00

11 lines
366 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/recorder.js* frontend/dist/
cp node_modules/posthog-js/dist/recorder-v2.js* frontend/dist/