Module Execution Model
glassp opened this issue · 0 comments
glassp commented
Rather than how modules are currently queued they should be separated into Phases.
Each Module within a Phase should not be dependent on another Module from the same Phase.
Im currently thinking of the following phases:
- STATIC_PROCESSING: Processing of static files that could be referenced during the other phases [copy]
- PREPROCESSING: Changes that have to be made before something can be compiled/processed [meta]
- PROCESSING: compiling sources [scss, dart]
- EMIT: putting together all compiled sources [html]
- POSTPROCESSING [sitemap]