Skip to content

Commit

Permalink
Add UMD Ids to external modules in store package (#4522)
Browse files Browse the repository at this point in the history
* Add UMB Ids to external modules in store package

* Add moment

* Address PR feedback
  • Loading branch information
nwmac authored Aug 24, 2020
1 parent 307fc20 commit 0aefbb1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 14 additions & 2 deletions src/frontend/packages/store/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
"$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../../dist/store",
"lib": {
"entryFile": "src/public-api.ts"
"entryFile": "src/public-api.ts",
"umdModuleIds": {
"normalizr": "normalizr",
"rxjs-spy/operators": "rxjsSpy_operators",
"rxjs-spy/operators/tag": "rxjsSpy_operators_tag",
"ngrx-store-localstorage": "ngrxStoreLocalstorage",
"@ngrx/store": "ngrx_store",
"@ngrx/effects": "ngrx_effects",
"immer": "immer",
"util": "util",
"@ngrx/router-store": "ngrx_routerStore",
"moment": "moment"
}
}
}
}
5 changes: 4 additions & 1 deletion src/frontend/packages/store/testing/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../../dist/store/testing",
"lib": {
"entryFile": "public-api.ts"
"entryFile": "public-api.ts",
"umdModuleIds": {
"@ngrx/store": "ngrx_store"
}
}
}

0 comments on commit 0aefbb1

Please sign in to comment.