Fixes #23924 - Use consistent IDs for modules in webpack
This replaces the NamedModulesPlugin with a simplified version, that strips the relative path part of the module ID up to the node_modules/ part. This allows using consistent naming for modules, even when running the packaging from different directories relative to the node_modules folder (as is the case, for example, with katello and foreman).
Related issues
Bug #23924: Lab Features -> Red Hat Subscriptions generates console error
Fixes #23924 - Use consistent IDs for modules in webpack
This replaces the NamedModulesPlugin with a simplified version, that
strips the relative path part of the module ID up to the
node_modules/ part. This allows using consistent naming for modules,
even when running the packaging from different directories relative to
the node_modules folder (as is the case, for example, with katello and
foreman).