diff --git a/webpack.config.js b/webpack.config.js index 0e866ae1e..6a1f150e3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -176,7 +176,10 @@ function getConfig(options = {}) { }, { test: /\.tsx?$/, exclude: /node_modules/, - loader: 'ts-loader' + loader: 'ts-loader', + options: { + transpileOnly: !isProduction // Skip type checking for dev builds. + } } ] }, node: {