App engine: can we create JSX files in dynatrace app

I was trying to create jsx file in custom app, but it gave me below error which doesnt seems directly related.

Invalid project structure detected

Your project uses an outdated file structure that is not supported in dt-app v1.0.
To ensure compatibility and avoid build issues, please update your project structure.

Required Changes:

1. Configure sourceRoot in app.config.json:
• Set “build.sourceRoot” to your desired source directory (default: “./”)
• Example: “build”: { “sourceRoot”: “src” }

2. Organize your code using the standardized structure:
<sourceRoot>/
├── ui/ ← UI components and main.tsx
│ ├── main.tsx
│ └── tsconfig.json
├── api/ ← App functions (*.function.ts)
├── actions/ ← Workflow actions (*.action.ts)
├── settings/ ← Settings widgets and schemas
└── documents/ ← Document files

Thank you for your support!

But when i change the file to tsx , it works fine. Is there any guidance on this?

let’s address this more detailed, why you need to create jsx?

Hi,
I’ve got the same error, you should see this post : https://community.dynatrace.com/t5/Custom-Solutions-Spotlight/Migration-from-dt-app-0-148-1-to-dt-app-1-0-2-error-new-project/m-p/287811#M213

Kind regards,

Evan