message: fix(core/scope): record plugin before installing
diff: @@ -107,11 +107,11 @@ export class Scope {
  return this
  }
  + if (plugin.id) { this._pluginMap[plugin.id] = plugin }
  +
  plugin.install(this, options)
  this._plugins.push(plugin)
  - if (plugin.id) { this._pluginMap[plugin.id] = plugin }
  -
  return this
  }
  