运行命令时
ng-packagr -p ng-package.json
我得到以下输出
Building Angular library
- - - skipped 8 lines - - -
Side effects in initialization of unused variable Cm [0:2339,29]
Side effects in initialization of unused variable Jm [0:2361,29]
Dropping duplicated definition of variable FO [0:11798,34]
Side effects in initialization of unused variable ES [0:13236,33]
- - - skipped 4 lines - - -
Built Angular library from MY_PROJECT_PATH written to MY_PROJECT_PATH/dist
我应该担心那些Side effects
和Dropping duplicated
台词吗?我们在这里谈论什么样的副作用?
有趣的是,他们在几个版本之前并不存在。
在 SO 上搜索ng-packagr side effects
,没有产生任何结果 - 我是唯一对此感兴趣的人吗?