Prechádzať zdrojové kódy

Webpack: Fix accidental double typechecking (#18881)

kay delaney 6 rokov pred
rodič
commit
6ea2d484b1

+ 0 - 6
scripts/webpack/webpack.common.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,
-    })
-  ],
 };

+ 2 - 2
scripts/webpack/webpack.dev.js

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