angular-docs-cn/packages
JoostK 271d2b51a9 fix(ivy): ngcc - prevent crash for packages without "main" property (#30950)
When determining the module type of a bundle pointed to by the "main"
property, ngcc needs to read the bundle to figure out if it is CommonJS
or UMD format. However, when the "main" property does not exist ngcc
would crash while determining the path to the main bundle file.

This commit fixes the crash by checking if the "main" property is present
at all, before attempting to derive a full path to the bundle file.

Fixes #30916
Fixes FW-1369

PR Close #30950
2019-06-11 00:12:03 +00:00
..
animations build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
bazel build: set symlink_node_modules = False for yarn_install in main WORKSPACE and bazel schematics (#30627) 2019-06-11 00:03:11 +00:00
benchpress build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
common build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
compiler build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
compiler-cli fix(ivy): ngcc - prevent crash for packages without "main" property (#30950) 2019-06-11 00:12:03 +00:00
core fix(ivy): correctly set `TView.firstChild` with runtime i18n (#30920) 2019-06-11 00:09:32 +00:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
examples test(compiler): update examples and compiler tests (#30626) 2019-05-23 10:31:32 -07:00
forms build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
http build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
language-service build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-browser build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-browser-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-server build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-webworker build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
platform-webworker-dynamic build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
private/testing test(ivy): add onlyInIvy perf counter expectations (#30339) 2019-05-09 11:22:00 -07:00
router build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
service-worker build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
upgrade build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig-test.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig.json docs(service-worker): improve `SwRegistrationOptions` docs and add example (#21842) 2019-04-25 12:29:58 -07:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT