Reworking docker-compose.prod.yaml to make it generic while still having a front container configurable

This commit is contained in:
David Négrier 2021-02-02 11:19:24 +01:00
parent 686427f6fe
commit 274f5eba4c
7 changed files with 101 additions and 61 deletions

View file

@ -39,7 +39,16 @@ module.exports = {
plugins: [
new HtmlWebpackPlugin(
{
template: './dist/index.html'
template: './dist/index.tmpl.html',
minify: {
collapseWhitespace: true,
keepClosingSlash: true,
removeComments: false,
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
useShortDoctype: true
}
}
),
new webpack.ProvidePlugin({