Skip to content

Commit fcf7bf5

Browse files
committed
Script to update the shim
1 parent 94948c5 commit fcf7bf5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/update-shim

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
VERSION=$1
4+
5+
curl -s "https://unpkg.com/es-module-shims@$VERSION/dist/es-module-shims.js" > app/assets/javascripts/es-module-shims.js
6+
curl -s "https://ga.jspm.io/npm:es-module-shims@$VERSION/dist/es-module-shims.js" > app/assets/javascripts/es-module-shims.min.js
7+
curl -s "https://ga.jspm.io/npm:es-module-shims@$VERSION/dist/es-module-shims.js.map" > app/assets/javascripts/es-module-shims.js.map

0 commit comments

Comments
 (0)