tinybirdco / web-analytics-starter-kit

Tinybird Web Analytics Starter Kit
https://tinybird.co/starter-kits/web-analytics
MIT License
350 stars 36 forks source link

[Bugfix] Remove flock.js source maps #27

Closed alejandromav closed 2 years ago

alejandromav commented 2 years ago

Description

Don't generate source maps when building flock.js script. Source code is publicly available, and UNPKG has some issues resolving relative paths. So we're removing them from now on.

If you're reading this and you need the source maps, or just think otherwise, just open a ticket and we'll discuss this.

We're prioritizing having a simple url for the <script> tag.

Fixes #24

Type of change

How Has This Been Tested?

Build the script locally, inject in a localhost website and check we don't get any 404.

Checklist:

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
analytics-dashboard ✅ Ready (Inspect) Visit Preview Sep 27, 2022 at 3:25PM (UTC)