Skip to content
Prev Previous commit
Next Next commit
Update tools/webpack/blocks.js
Co-authored-by: Greg Ziółkowski <[email protected]>
  • Loading branch information
mikachan and gziolo committed Sep 26, 2023
commit 2cd672d5bf3a1b32eb818bc44406cd68348eaebf
2 changes: 1 addition & 1 deletion tools/webpack/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
devtoolNamespace: 'wp',
filename: `./blocks/[name]${ suffix }.js`,
path: normalizeJoin( baseDir, buildTarget ),
chunkLoadingGlobal: `__WordPressPrivateInteractivityAPI_${ Math.floor( Math.random() * 1000 ) }__`,
chunkLoadingGlobal: `__WordPressPrivateInteractivityAPI__`,
},
resolve: {
alias: {
Expand Down