diff --git a/front/dist/.gitignore b/front/dist/.gitignore index 64233a9e..dd1fae3d 100644 --- a/front/dist/.gitignore +++ b/front/dist/.gitignore @@ -1 +1,2 @@ -index.html \ No newline at end of file +index.html +index.tmpl.html.tmp diff --git a/front/templater.sh b/front/templater.sh index 1851cdc5..a5a28c9c 100755 --- a/front/templater.sh +++ b/front/templater.sh @@ -2,7 +2,7 @@ set -x set -o nounset errexit template_file_index=dist/index.tmpl.html -generated_file_index=dist/index.html +generated_file_index=dist/index.tmpl.html.tmp tmp_trackcodefile=/tmp/trackcode # To inject tracking code, you have two choices: diff --git a/front/webpack.config.js b/front/webpack.config.js index 170466ef..bb03c789 100644 --- a/front/webpack.config.js +++ b/front/webpack.config.js @@ -39,7 +39,7 @@ module.exports = { plugins: [ new HtmlWebpackPlugin( { - template: './dist/index.tmpl.html', + template: './dist/index.tmpl.html.tmp', minify: { collapseWhitespace: true, keepClosingSlash: true,