[DX] Re-work generate:bundle for simple app bundles #290

@weaverryan please review my pull request ;)
just use your ``$shared`` variable