Is it possible to have separate build processes that generate bundles that define dependencies, which can be used by an application without having to expose globals and rely on aliases?
There are two separate build processes:
- Core: This builds a distribution of common core dependencies
- Component: This externalizes anything in core build
The following two files are entry points for two different build processes. The component entry webpack config defines core as an external.