Fix webpack source maps (#15663)

This commit is contained in:
Steve Repsher
2023-03-16 09:38:55 -04:00
committed by GitHub
parent db62e9f922
commit aeb7f8ff36
8 changed files with 97 additions and 22 deletions

View File

@@ -76,7 +76,7 @@ const createRollupConfig = ({
}),
!isWDS && worker(),
!isWDS && dontHashPlugin({ dontHash }),
!isWDS && isProdBuild && terser(bundle.terserOptions(latestBuild)),
!isWDS && isProdBuild && terser(bundle.terserOptions({ latestBuild })),
!isWDS &&
isStatsBuild &&
visualizer({