diff --git a/build-scripts/gulp/webpack.js b/build-scripts/gulp/webpack.js index e7083cd578..bb72b0479d 100644 --- a/build-scripts/gulp/webpack.js +++ b/build-scripts/gulp/webpack.js @@ -86,10 +86,11 @@ const prodBuild = (conf) => gulp.task("webpack-watch-app", () => { // This command will run forever because we don't close compiler - webpack(createAppConfig({ isProdBuild: false, latestBuild: true })).watch( - { ignored: /build-translations/, poll: isWsl }, - doneHandler() - ); + webpack( + process.env.ES5 + ? bothBuilds(createAppConfig, { isProdBuild: false }) + : createAppConfig({ isProdBuild: false, latestBuild: true }) + ).watch({ ignored: /build-translations/, poll: isWsl }, doneHandler()); gulp.watch( path.join(paths.translations_src, "en.json"), gulp.series("build-translations", "copy-translations-app") diff --git a/src/html/_js_base.html.template b/src/html/_js_base.html.template index 08cc3ce65a..f8dc4835c9 100644 --- a/src/html/_js_base.html.template +++ b/src/html/_js_base.html.template @@ -20,4 +20,5 @@ "content" in document.createElement("template"))) { document.write(" diff --git a/src/html/authorize.html.template b/src/html/authorize.html.template index 555aea9e0e..4b7fbc9c53 100644 --- a/src/html/authorize.html.template +++ b/src/html/authorize.html.template @@ -43,13 +43,16 @@ <%= renderTemplate('_preload_roboto') %> diff --git a/src/html/index.html.template b/src/html/index.html.template index 0bcd77307f..f758aa5e33 100644 --- a/src/html/index.html.template +++ b/src/html/index.html.template @@ -67,12 +67,15 @@ <%= renderTemplate('_preload_roboto') %>