add provide param to modules.define snippet