|
@@ -69,7 +69,7 @@ module.exports = (env = {}) =>
|
|
|
checkSyntacticErrors: true,
|
|
checkSyntacticErrors: true,
|
|
|
}),
|
|
}),
|
|
|
new MiniCssExtractPlugin({
|
|
new MiniCssExtractPlugin({
|
|
|
- filename: "grafana.[name].[hash].css"
|
|
|
|
|
|
|
+ filename: 'grafana.[name].[hash].css'
|
|
|
}),
|
|
}),
|
|
|
new HtmlWebpackPlugin({
|
|
new HtmlWebpackPlugin({
|
|
|
filename: path.resolve(__dirname, '../../public/views/error.html'),
|
|
filename: path.resolve(__dirname, '../../public/views/error.html'),
|
|
@@ -89,7 +89,7 @@ module.exports = (env = {}) =>
|
|
|
new webpack.HotModuleReplacementPlugin(),
|
|
new webpack.HotModuleReplacementPlugin(),
|
|
|
new webpack.DefinePlugin({
|
|
new webpack.DefinePlugin({
|
|
|
'process.env': {
|
|
'process.env': {
|
|
|
- 'NODE_ENV': JSON.stringify('development')
|
|
|
|
|
|
|
+ NODE_ENV: JSON.stringify('development')
|
|
|
}
|
|
}
|
|
|
}),
|
|
}),
|
|
|
// new BundleAnalyzerPlugin({
|
|
// new BundleAnalyzerPlugin({
|