This PR updates the Webpack library configuration for the UDM module to use the option assign-properties.
This will ensure that both, Hovercards and the Quick Editor package can use the Gravatar namespace while importing a UDM module.
Testing Instructions
Checkout this branch
Ensure node_modules are up to date by running npm install
Navigate to the hovercards folder and build the package: cd web/packages/hovercards && npm run build
Navigate to the quick-editor folder and build the package: cd web/packages/quick-editor && npm run build
Create an index.html with the following contents file under the directory: web/packages/:
Proposed Changes
This PR updates the Webpack library configuration for the
UDM
module to use the option assign-properties. This will ensure that both, Hovercards and the Quick Editor package can use theGravatar
namespace while importing a UDM module.Testing Instructions
node_modules
are up to date by runningnpm install
hovercards
folder and build the package:cd web/packages/hovercards && npm run build
quick-editor
folder and build the package:cd web/packages/quick-editor && npm run build
index.html
with the following contents file under the directory:web/packages/
: