remove need for @microsoft/fetch-event-source dep (-7kb)

This commit is contained in:
Tobias Lütke 2023-07-02 14:30:23 -04:00
parent e192f950a3
commit 34fc3c7e9f
No known key found for this signature in database
GPG key ID: 1FC0DBB14164709A
3 changed files with 83 additions and 32 deletions

View file

@ -5,7 +5,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
PUBLIC=$DIR/public
curl https://npm.reversehttp.com/@preact/signals-core,@preact/signals,htm/preact,preact,preact/hooks,@microsoft/fetch-event-source > $PUBLIC/index.js
curl https://npm.reversehttp.com/@preact/signals-core,@preact/signals,htm/preact,preact,preact/hooks > $PUBLIC/index.js
echo >> $PUBLIC/index.js # add newline
echo "// Generated file, run deps.sh to update. Do not edit directly