add BUNDLED_COMMANDS functionality to bundler plugin