FIX 热更新config.js被缓存
This commit is contained in:
parent
9f3f6ff0e5
commit
dc5c2c9f59
|
|
@ -6,7 +6,9 @@
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<script src="config.js?v=<%= new Date().getTime() %>"></script>
|
||||
<script type="text/javascript">
|
||||
document.write("<script src='config.js?"+new Date().getTime()+"'><\/script>");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
|
|
|||
Loading…
Reference in New Issue