Skip to content

Ensure pre-Webpack 5 behaviour with "exports" field in package.json

Pandu Supriyono requested to merge feature/package-json-exports-field into master

As of Webpack 5, module resolution respects the "exports" field in a module's package.json.

This MR ensures that this module can be resolved flexibly using Webpack 5, that is via the main entry point or individual files (i.e. @uncinc/react-drupal-core/dist/redux/actions/Entity/User and @uncinc/react-drupal-core/redux/actions/Entity/User).

Edited by Pandu Supriyono

Merge request reports

Loading