diff --git a/development/indexHtmlParameter.js b/development/indexHtmlParameter.js
index 7794a59c2d4..ef24989775c 100644
--- a/development/indexHtmlParameter.js
+++ b/development/indexHtmlParameter.js
@@ -14,6 +14,7 @@ function createEjsParams({ filename = '', platform = '', browser = '' }) {
platform,
browser,
htmlHeadPreloadCode,
+ currentVersion: process.env.VERSION,
isDev: process.env.NODE_ENV === 'development',
};
}
diff --git a/development/webpack/ext/pluginsHtml.js b/development/webpack/ext/pluginsHtml.js
index e001f0a0cf3..bbe194b35ee 100644
--- a/development/webpack/ext/pluginsHtml.js
+++ b/development/webpack/ext/pluginsHtml.js
@@ -31,7 +31,7 @@ function createHtmlPlugin({ name, chunks }) {
// chunks: [name],
chunks: chunks || [name],
cache: false,
- hash: true,
+ hash: process.env.NODE_ENV === 'development',
});
const interpolateHtmlPlugin = new InterpolateHtmlPlugin(
HtmlWebpackPlugin,
diff --git a/packages/shared/src/web/index.html.ejs b/packages/shared/src/web/index.html.ejs
index 743297938bc..2b11cf5dbb2 100644
--- a/packages/shared/src/web/index.html.ejs
+++ b/packages/shared/src/web/index.html.ejs
@@ -36,7 +36,7 @@
-
+
<% } %>
<% if ( platform === 'desktop' || platform === 'web' ) { %>