fix(build) speed up webpack dev build by 4x

Skip type checking, only do it in prod builds (the CI will check those).

Main bundle build times:

- Before: 255101ms
- After: 58463ms
pull/12204/head jitsi-meet_7803
Saúl Ibarra Corretgé 3 years ago committed by Saúl Ibarra Corretgé
parent e18240cfc6
commit 9bb0decb30
  1. 5
      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: {

Loading…
Cancel
Save