bundle to plugin