diff --git a/webpack.config.js b/webpack.config.js index eadfe2552be..c65479ed3da 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -180,7 +180,7 @@ var config = { { loader: "ts-loader", options:{ - transpileOnly: (isDev || isTest) + transpileOnly: (isDev || isTest || (process.env.NETLIFY && process.env.CONTEXT !== "production")) } } ],