fix for issue with error view in production builds

This commit is contained in:
Torkel Ödegaard
2018-11-20 13:46:52 +01:00
parent cab2c5189a
commit 34c70ca7ce
3 changed files with 7 additions and 6 deletions

View File

@ -85,7 +85,7 @@ module.exports = merge(common, {
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, '../../public/views/error.html'),
template: path.resolve(__dirname, '../../public/views/error-template.html'),
inject: 'false',
inject: false,
}),
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, '../../public/views/index.html'),