diff --git a/web/public/index.html b/web/public/index.html index 75281b94..20222d92 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -8,7 +8,7 @@ <%=htmlWebpackPlugin.options.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){ %> <% } }) %>