Set bundles paths when doing a build

Only if using an alternative dist directory, set the bundles path during the build so that the user only needs to set the path to their main bundle entry point.