Refactor to create a method on the deploy config to create a rollup config. This will be useful for creating a script to build a rollup config.