我正在关注以下 URL 提供的文章:
Pluggable Enterprise Application with angular
下面提供了代码存储库: Github Code Repository 。这段代码是使用 Angular 7 编写的。我决定再添加一个插件,其中包含主机以及滚动的窗口。为此,我使用模块“@nicky-lenaers/ngx-scroll-to”。我更改为 Angular 8.0.3 版本。进行这些更改后,当我尝试再次构建插件时,我开始收到以下警告:
WARNING in Entry point '@nicky-lenaers/ngx-scroll-to' contains deep imports into 'rxjs/index'. This is probably not a problem, but may cause the compilation of entry points to be out of order
在此警告之后,构建进程立即退出。 请告诉我哪里错了。
最佳答案
这是 ngx-scroll-to
错误,之前的插件与 angular-8
不兼容,但他们已经升级了 see here 。所以你只需要将软件包更新到最新版本即可。
关于typescript - 获取警告消息 "WARNING in Entry point ' @nicky-lenaers/ngx-scroll-to' 包含深度导入到 'rxjs/index' ”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56835019/