-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Labels
breaking changedependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or request
Milestone
Description
When using oidc-client-ts
in an Angular application, the following warning is raised:
Warning: node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js depends on 'crypto-js/enc-base64.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
There is a solution to explicitely make the warning silent in the application :
"architect": {
"build": {
"options": {
"allowedCommonJsDependencies": [
"crypto-js"
]
}
}
}
But I was thinking that, maybe, oidc-client-ts
could simply migrates to crypto-es. What do you think ?
Because unfortunately crypto-js
doesn't seem to care about moving to es module.. #60 and #236
dejan9393, stefanvanherwijnen, RoXuS, shcsjohns and frsimond
Metadata
Metadata
Assignees
Labels
breaking changedependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or request