-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
flow.puml
32 lines (29 loc) · 1.11 KB
/
flow.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@startuml
' See docs https://plantuml.com/sequence.html
'
' generate png:
' npm run puml
autonumber
participant Webpack
participant ChildCompiler
participant TagCreator
participant TemplateExecutor
participant TagInjector
Webpack -> ChildCompiler : start child compilation
ChildCompiler -> ChildCompiler : compile html template
ChildCompiler -> TemplateExecutor : handover compiled template
Webpack -> TagCreator : hand over compilation\n assets
note right of TagInjector: beforeAssetTagGeneration
TagCreator -> TagCreator : create script style\n and meta tags
note right of TagInjector: alterAssetTags
TagCreator -> TagCreator : group tags to\n head and body groups
note right of TagInjector: alterAssetTagGroups
TagCreator -> TemplateExecutor : handover tag groups
TemplateExecutor -> TemplateExecutor : execute compiled template
note right of TagInjector: afterTemplateExecution
TemplateExecutor -> TagInjector : handover html
TagInjector -> TagInjector : inject script style\n and meta tags
note right of TagInjector: beforeEmit
TagInjector -> Webpack : add generated file to\n assets
note right of TagInjector: afterEmit
@enduml