Expose plugin as amd module