humanmade / hm-gutenberg-tools

Useful helpers, components or tools for building things with Gutenberg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix `externals` entry in Webpack config

kucrut opened this issue · comments

Somwehere between version 2.4.0 and 2.6.0, Gutenberg remove ReactDOMServer from its externals entry in Webpack config. Since one of HMGT's components is relying on that, we need to also remove it from our externals. Otherwise the built script will throw error and the hm global will not be set.