Related to: http://stackoverflow.com/questions/41891901/how-to-bundle-a-clientside-typescript-project