Skip to content

Commit

Permalink
add es-module-shims
Browse files Browse the repository at this point in the history
  • Loading branch information
thewoolleyman committed Feb 28, 2022
1 parent 9775893 commit c9c8add
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<!DOCTYPE html>
<!--
Following line attempts to fix Apollo Client Devtools breaking importmaps, but doesn't work properly.
See:
- https://github.com/WICG/import-maps/issues/248#issuecomment-1047373384
- https://github.com/guybedford/es-module-shims
-->
<script async src="https://ga.jspm.io/npm:es-module-shims@1.4.6/dist/es-module-shims.js"></script>
<html>
<head>
<title>RailsImportmapExample</title>
Expand Down

0 comments on commit c9c8add

Please sign in to comment.