Webpack: Fix accidental double typechecking (#18881)

pull/18884/head
kay delaney 6 years ago committed by GitHub
parent aab224ef29
commit 6ea2d484b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      scripts/webpack/webpack.common.js
  2. 4
      scripts/webpack/webpack.dev.js

@ -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,
})
],
};

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

Loading…
Cancel
Save