Skip to content

Commit 0ebe341

Browse files
Block Editor: Add missing package to the default export array.
Follow up on https://core.trac.wordpress.org/ticket/49358#comment:12. We should add "warning" to the array of packages with default export to avoid the need for developers to use wp.warning.default. Props gziolo, aduth. Fixes #49436. git-svn-id: https://develop.svn.wordpress.org/trunk@47301 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 002bfea commit 0ebe341

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/webpack/packages.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
220220
'token-list',
221221
'server-side-render',
222222
'shortcode',
223+
'warning',
223224
].map( camelCaseDash ) ),
224225
new CustomTemplatedPathPlugin( {
225226
basename( path, data ) {

0 commit comments

Comments
 (0)