Allow builder to build prod and dev output and remove unused dependencies