Skip to content

Commit

Permalink
Use a simplified production steal script tag
Browse files Browse the repository at this point in the history
This simplifies the production script tag so that it uses the new
preconfigured steal.production.js that was added in Steal 1.0.

Closes #173
  • Loading branch information
matthewp committed Jan 25, 2017
1 parent a8ca15b commit 2d02258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/src/index.stache
Expand Up @@ -10,7 +10,7 @@

{{#switch env.NODE_ENV}}
{{#case "production"}}
<script src="{{joinBase 'node_modules/steal/steal.production.js'}}" main="<%= name %>/index.stache!done-autorender"></script>
<script src="{{joinBase 'dist/steal.production.js'}}"></script>
{{/case}}
{{#default}}
<script src="/node_modules/steal/steal.js"></script>
Expand Down

0 comments on commit 2d02258

Please sign in to comment.