mirror of
git://develop.git.wordpress.org/
synced 2025-04-13 08:32:10 +02:00
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:
parent
823b0d2c64
commit
5a200bdb7a
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user