message: feat(core): add api.isPluginEnable and support check with plugin key
diff: @@ -269,7 +269,7 @@ export function getRightRenderContent (opts: {
  }
  `;
  - const Locale = !!api.config.locale;
  + const Locale = api.isPluginEnable('locale');
  // rightRender.tsx
  api.writeTmpFile({
  