Closed patrickarlt closed 7 years ago
Thanks for pointing this out, @patrickarlt!
Once we have landed #16 we will take a look at this issue and see what we need to do.
@patrickarlt since I'm no longer using Angular, I can't keep up w/ what's an accepted pattern or not. Basically, I'm at the point where the only role I can play in this repo is to push green buttons on PRs that have 2 or more 👍.
So, I can merge and release whatever y'all come up w/, or if someone wants to relieve me of that duty, I'm glad to transfer ownership.
Appears to be resolved in the latest build.
When
angular-esri-loader
is included in a project and bundled (like with webpack) it is including its own copies of some code from@angular
as evidenced by this screencap ofsource-map-explorer
:I think the accepted pattern is to specify the Angular dependencies in BOTH
peerDependencies
anddevDependencies
like nowngx-datatable
does it https://github.com/swimlane/ngx-datatable/blob/master/package.json#L66-L137. This should tell NPM thatangular-esri-loader
needs apeerDependency
of@angular/core
when being installed as a dependency as opposed to installing a specific version.@noahmulfinger or @araedavis you should be able to take care of this.