MODULES: lib1, lib1-new, main

STEP 0:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/m, main/m.export, main
STEP 1..2:
    libs: lib1-new, main
    dirty js modules: lib1-new, main
    dirty js files:   lib1-new/l1, main/m
STEP 3..5:
    libs: lib1, main
    dirty js modules: lib1, main
    dirty js files:   lib1/l1, main/m
