fix: Use proper webpack config for dev mode (#2061)

This was broken when improving the build times. The typechecker
unfortunately missed it!
This commit is contained in:
Kyle Carberry
2022-06-05 13:23:44 -05:00
committed by GitHub
parent 013f028e55
commit 1634f2cddd

View File

@ -14,7 +14,7 @@ const commonPlugins = commonWebpackConfig.plugins || []
const commonRules = commonWebpackConfig.module?.rules || []
const config: Configuration = {
...createCommonWebpackConfig,
...commonWebpackConfig,
// devtool controls how source maps are generated. In development, we want
// more details (less optimized) for more readability and an easier time