#!/usr/bin/env node
import { createRequire as createRequire_BATI_CLI } from 'module';
const require = createRequire_BATI_CLI(import.meta.url);

import {
  Mps,
  vEs
} from "../../../../chunk-53NHAV3C.js";
import "../../../../chunk-IAWYWZSL.js";
import "../../../../chunk-IHX3I5SM.js";

// ../../boilerplates/sentry/dist/files/$README.md.js
async function getReadme(props) {
  const content = await vEs(props);
  const pmCmd = Mps().run;
  const about = `

## Sentry Browser / Error Tracking & Performance Monitoring

This app is integrated with [Sentry](https://sentry.io) for error tracking. 

> [!NOTE]
> Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)!

**Testing Sentry** receiving Errors:
1. Build & Start the app \`${pmCmd} build && ${pmCmd} preview\`.
2. open Testpage in browser: http://localhost:3000/sentry.
3. check your [Sentry Dashboard](https://sentry.io) for new Errors.

`;
  content.addMarkdownFeature(about, "sentry");
  return content;
}
export {
  getReadme as default
};
