angular-docs-cn/aio/tools/transforms/examples-package/processors
Pete Bacon Darwin 94707fe795 build(aio): initialise `exampleMap` correctly (#22502)
The `exampleMap` needs to hold an hash object for each
of the `collectExamples.exampleFolders` paths.

Previously these hash objects were only created if there
was actually an example file the hash's respective
example folder.  This could cause crashes during
`yarn docs-watch` (and so also `yarn sync-and-serve`)
if no examples were read in for a particular run of
the doc-gen.

PR Close #22502
2018-03-01 08:10:15 -08:00
..
collect-examples.js build(aio): initialise `exampleMap` correctly (#22502) 2018-03-01 08:10:15 -08:00
collect-examples.spec.js build(aio): initialise `exampleMap` correctly (#22502) 2018-03-01 08:10:15 -08:00
render-examples.js build(aio): allow render-examples to complete even if examples are broken 2017-11-02 15:00:22 -07:00
render-examples.spec.js build(aio): allow render-examples to complete even if examples are broken 2017-11-02 15:00:22 -07:00