WordPress.org

Make WordPress Core

Changeset 47301


Ignore:
Timestamp:
02/17/2020 12:30:54 PM (7 months ago)
Author:
jorgefilipecosta
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/webpack/packages.js

    r47250 r47301  
    221221                'server-side-render',
    222222                'shortcode',
     223                'warning',
    223224            ].map( camelCaseDash ) ),
    224225            new CustomTemplatedPathPlugin( {
Note: See TracChangeset for help on using the changeset viewer.