mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2026-01-28 06:33:19 +00:00
👻 Fix player script name
As Amplitude is also the name of a tracking service, the script gets blocked by extensions like uBlock Origin.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist generated && mkdir -p dist generated",
|
||||
"fetch": "node tasks/fetch_feed.js",
|
||||
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/amplitude.js",
|
||||
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/player.js",
|
||||
"init": "npm-run-all clean -p fetch copy build:data",
|
||||
"start": "NODE_ENV=development npm-run-all init -p start:*",
|
||||
"start:data": "onchange -k 'content/**/*' -- npm run build:data",
|
||||
|
||||
Reference in New Issue
Block a user