Handle window.App and merge split-file with preprocess.