Webpack: Fix accidental double typechecking (#18881)

This commit is contained in:
kay delaney 2019-09-04 10:17:49 +01:00 committed by GitHub
parent aab224ef29
commit 6ea2d484b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,4 @@
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,
})
],
};

View File

@ -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({