diff options
Diffstat (limited to 'webpack/webpack.common.js')
-rw-r--r-- | webpack/webpack.common.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 4f751af2..076f90af 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -53,7 +53,8 @@ export default env => ({ exclude: /node_modules/, options: { // disable type checker for user in fork plugin - transpileOnly: true + transpileOnly: true, + configFile: env.mode === "production" ? "tsconfig-production.json" : "tsconfig.json" } } ] |