Skip to content

Commit 187770f

Browse files
pkamdemhansl
authored andcommitted
chore: align polyfills scritps in index.html.
* Edit the Handlebars loops to generate more user-friendly script tags. Closes #759 Closes #760
1 parent 85c9aec commit 187770f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

addon/ng2/blueprints/ng2/files/__path__/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
{{#if environment.production}}
3737
<script src="/app-concat.js" async></script>
3838
{{else}}
39-
{{#each scripts.polyfills}}<script src="{{.}}"></script>{{/each}}
39+
{{#each scripts.polyfills}}
40+
<script src="{{.}}"></script>
41+
{{/each}}
4042
<script>
4143
System.import('system-config.js').then(function () {
4244
System.import('main');
@@ -46,7 +48,9 @@
4648

4749
<% } else { %>
4850

49-
{{#each scripts.polyfills}}<script src="{{.}}"></script>{{/each}}
51+
{{#each scripts.polyfills}}
52+
<script src="{{.}}"></script>
53+
{{/each}}
5054
<script>
5155
System.import('system-config.js').then(function () {
5256
System.import('main');

0 commit comments

Comments
 (0)