compile-app and compile-loadable should follow the same structure