Commit 6ea2d484 by kay delaney Committed by GitHub

Webpack: Fix accidental double typechecking (#18881)

parent aab224ef
const path = require('path');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
module.exports = {
target: 'web',
......@@ -93,9 +92,4 @@ module.exports = {
},
},
},
plugins: [
new ForkTsCheckerWebpackPlugin({
checkSyntacticErrors: true,
})
],
};
......@@ -69,7 +69,7 @@ module.exports = (env = {}) =>
checkSyntacticErrors: true,
}),
new MiniCssExtractPlugin({
filename: "grafana.[name].[hash].css"
filename: 'grafana.[name].[hash].css'
}),
new HtmlWebpackPlugin({
filename: path.resolve(__dirname, '../../public/views/error.html'),
......@@ -89,7 +89,7 @@ module.exports = (env = {}) =>
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('development')
NODE_ENV: JSON.stringify('development')
}
}),
// new BundleAnalyzerPlugin({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment