From 0ebe3412844e0ddb0de9d15d15b0197d1893dfd4 Mon Sep 17 00:00:00 2001
From: Jorge Costa <jorgefilipecosta@git.wordpress.org>
Date: Mon, 17 Feb 2020 12:30:54 +0000
Subject: [PATCH] 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
---
 tools/webpack/packages.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/webpack/packages.js b/tools/webpack/packages.js
index bf05904e61..d55ff0e3f2 100644
--- a/tools/webpack/packages.js
+++ b/tools/webpack/packages.js
@@ -220,6 +220,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
 				'token-list',
 				'server-side-render',
 				'shortcode',
+				'warning',
 			].map( camelCaseDash ) ),
 			new CustomTemplatedPathPlugin( {
 				basename( path, data ) {