Skip to content

Commit 7eb4aca

Browse files
pierlongziolo
authored andcommitted
Set a constant namespace for module sourcemaps (WordPress#17024)
1 parent 8f05a99 commit 7eb4aca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
return memo;
4040
}, {} ),
4141
output: {
42+
devtoolNamespace: 'wp',
4243
filename: './build/[basename]/index.js',
4344
path: __dirname,
4445
library: [ 'wp', '[name]' ],

0 commit comments

Comments
 (0)