Create source maps in dev

This commit is contained in:
Ajay
2022-06-22 13:21:15 -04:00
parent 529db4d6ca
commit 6b4da25847
3 changed files with 22 additions and 3 deletions

View File

@@ -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"
}
}
]