We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 090c372 commit 1e99dd1Copy full SHA for 1e99dd1
1 file changed
_includes/head.html
@@ -145,6 +145,8 @@
145
<script src="{{ site.baseurl }}/assets/js/dist/tooltip-loader.min.js" async></script>
146
147
<!-- PWA -->
148
- <script src="{{ '/app.js' | relative_url }}" defer></script>
+ {% if jekyll.environment == 'production' %}
149
+ <script src="{{ '/app.js' | relative_url }}" defer></script>
150
+ {% endif %}
151
152
</head>
0 commit comments