Load hash based styles in error.html, too

This commit is contained in:
Tarek Becker committed 2018-11-01 23:31:17 +01:00
1 parent 4d4eb354b7
commit 70bb81c6eb
5 files changed
+13 -2

No files matched your search

+5
View File
@@ -82,6 +82,11 @@ module.exports = merge(common, {
new MiniCssExtractPlugin({
filename: "grafana.[name].[hash].css"
}),
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, '../../public/views/error.html'),
template: path.resolve(__dirname, '../../public/views/error.template.html'),
inject: 'false',
}),
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, '../../public/views/index.html'),
template: path.resolve(__dirname, '../../public/views/index.template.html'),