WordPress.org

Make WordPress Core

Ticket #47870: namespace.patch

File namespace.patch, 442 bytes (added by pierlo, 11 months ago)
  • tools/webpack/packages.js

    diff --git tools/webpack/packages.js tools/webpack/packages.js
    index d040f0701f..8ebd28b7a6 100644
    module.exports = function( env = { environment: 'production', watch: false, buil 
    207207                        return memo;
    208208                }, {} ),
    209209                output: {
     210                        devtoolNamespace: 'wp',
    210211                        filename: `[basename]${ suffix }.js`,
    211212                        path: join( baseDir, `${ buildTarget }/js/dist` ),
    212213                        library: {