mirror of
https://github.com/grafana/grafana.git
synced 2025-09-19 13:12:53 +08:00
Load hash based styles in error.html, too
This commit is contained in:
@ -80,6 +80,11 @@ module.exports = merge(common, {
|
||||
inject: 'body',
|
||||
chunks: ['vendor', 'app'],
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: path.resolve(__dirname, '../../public/views/error.html'),
|
||||
template: path.resolve(__dirname, '../../public/views/error.template.html'),
|
||||
inject: false,
|
||||
}),
|
||||
function () {
|
||||
this.hooks.done.tap('Done', function (stats) {
|
||||
if (stats.compilation.errors && stats.compilation.errors.length) {
|
||||
|
Reference in New Issue
Block a user