Created
October 6, 2015 03:01
-
-
Save bceskavich/3510029c460c3e691a94 to your computer and use it in GitHub Desktop.
src/templates/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>React Flux Boilerplate</title> | |
{% if (o.htmlWebpackPlugin.options.env !== 'development') { %} | |
<link rel="stylesheet" type="text/css" href="/assets/{%= o.webpack.assetsByChunkName.application[1] %}" /> | |
{% } %} | |
</head> | |
<body> | |
<div id="app">Hello, world!</div> | |
{% if (o.htmlWebpackPlugin.options.env !== 'development') { %} | |
<script type="text/javascript" src="/assets/{%= o.webpack.assetsByChunkName.application[0] %}"></script> | |
{% } else { %} | |
<script type="text/javascript" src="{%= o.htmlWebpackPlugin.files.js[0] %}"></script> | |
{% } %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment