We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc62e7 commit ef1acc4Copy full SHA for ef1acc4
bin/refresh
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env bash
2
+
3
+VERSION=$1
4
5
+if [ -z "$VERSION" ]; then
6
+ echo "Usage: $0 <version>"
7
+ exit 1
8
+fi
9
10
+echo "Fetching version $VERSION of es-module-shims.js"
11
+curl "https://unpkg.com/es-module-shims@$VERSION/dist/es-module-shims.js" -s -o ./app/assets/javascripts/es-module-shims.js
12
13
+echo "Fetching version $VERSION of es-module-shims.min.js"
14
+curl "https://ga.jspm.io/npm:es-module-shims@$VERSION/dist/es-module-shims.js" -s -o ./app/assets/javascripts/es-module-shims.min.js
15
16
+echo "Fetching version $VERSION of es-module-shims.js.map"
17
+curl "https://ga.jspm.io/npm:es-module-shims@$VERSION/dist/es-module-shims.js.map" -s -o ./app/assets/javascripts/es-module-shims.js.map
0 commit comments