Build/Test Tools: fix source map loading in Firefox.

Fix an issue that prevented source maps from loading correctly in Firefox developer tools. Matches a fix introduced in Gutenberg build in PR:17024.

Props pierlo, andraganescu.
Fixes #47870.



git-svn-id: https://develop.svn.wordpress.org/trunk@46158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Adam Silverstein 2019-09-17 17:26:38 +00:00
parent 823b0d2c64
commit 5a200bdb7a
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
return memo;
}, {} ),
output: {
devtoolNamespace: 'wp',
filename: `[basename]${ suffix }.js`,
path: join( baseDir, `${ buildTarget }/js/dist` ),
library: {