Building Angular Package
Building entry point 'test-lib'
Compiling TypeScript sources through ngc
Bundling to FESM2015
Bundling to FESM5
Bundling to UMD
No name was provided for external module '@auth0/angular-jwt' in output.globals – guessing 'angularJwt'
No name was provided for external module '@auth0/angular-jwt/src/jwthelper.service' in output.globals – guessing 'i2'
Minifying UMD bundle
WARN: Declaring m as function [0:55,8]
Copying declaration files
Writing package metadata
Removing scripts section in package.json as it's considered a potential security vulnerability.
我在做ng build test-lib
时有此输出。
我尝试添加
"umdModuleIds": {
"@auth0/angular-jwt": "angularJwt",
"@auth0/angular-jwt/src/jwthelper.service": "jwthelper.service"
}
删除No name was provided for external module
是否正确?
WARN: Declaring m as function [0:55,8]
是什么意思?