Merge pull request #17687 from Snuffleupagus/pr-17686-followup

Disable source-map generation in the minified builds (PR 17686 follow-up)
This commit is contained in:
Tim van der Meij 2024-02-18 13:35:23 +01:00 committed by GitHub
commit d96fd80ca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -208,6 +208,7 @@ function createWebpackConfig(
!bundleDefines.MOZCENTRAL &&
!bundleDefines.CHROME &&
!bundleDefines.LIB &&
!bundleDefines.MINIFIED &&
!bundleDefines.TESTING &&
!disableSourceMaps;
const isModule = output.library?.type === "module";