You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I don't see a reason why the import can't be resolved. What am I missing? I'm not even sure if the issue is with webpack or a config issue in this project seed.
The text was updated successfully, but these errors were encountered:
I'm trying to make npm ng2-prism work with this seed, but it has an issue importing angular2/http, which as we know have been rescoped into @angular.
However, I would have thought that the aliases in webpack's config would solve these, but for some reason it's not picking up the alias.
vendor.ts (this is the only file I modified in the seed project)
The import in ng2-prism's source code is straightforward (codeblock.component.d.ts:1:66):
The alias configured in webpack.config.js
The error I'm getting on npm start:
Ofcourse ng2-prism should update its dependencies, but this is a situation we will run into sooner or later with one library or another.
But I don't see a reason why the import can't be resolved. What am I missing? I'm not even sure if the issue is with webpack or a config issue in this project seed.
The text was updated successfully, but these errors were encountered: