{%- include_cached script.html src="assets/js/env.js" -%} {%- if jekyll.environment == "production" -%} {%- for pack in site.data.manifest.outputs -%} {%- unless pack[1].entryPoint -%}{%- continue -%}{%- endunless -%} {%- assign src = pack[0] -%} {%- include_cached script.html src=src -%} {%- endfor -%} {%- else -%} {%- include_cached script.html src="pack.js" -%} {%- endif -%}