|
@ -8,7 +8,7 @@ |
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|
|
<title><%=htmlWebpackPlugin.options.title%></title> |
|
|
<title><%=htmlWebpackPlugin.options.title%></title> |
|
|
<% if(process.env.NODE_ENV!=='development'){ %> |
|
|
|
|
|
|
|
|
<% if(process.env.NODE_ENV!=='development' && htmlWebpackPlugin.options.cdns){ %> |
|
|
<% htmlWebpackPlugin.options.cdns.forEach(function(item){ if(item.js){ %> |
|
|
<% htmlWebpackPlugin.options.cdns.forEach(function(item){ if(item.js){ %> |
|
|
<script type="text/javascript" src="<%= item.js %>"></script> |
|
|
<script type="text/javascript" src="<%= item.js %>"></script> |
|
|
<% } }) %> |
|
|
<% } }) %> |
|
|