Refactored the bundler to its own package.