Hello.
After adding type script to my project according to this instruction I started seeing log
Starting the compilation for TypeScript files in ...
This phase takes around a minute on my machine despite not having any .ts files yet. It is not a problem for production build, but it is a pain during development. Every time I change code Strapi restarts running app and spends a lot of time for typescript compilation.
Is a minute an expectable amount of time?
If no, how can I troubleshoot where the problem is?
2 Likes
Facing the same
In case you still face the issue. I remember I had a lot of JSON files due to a Strapi documentation plugin. Removing them made things really faster.
You can also use the following command to get a better feeling of what’s happening during compilation:
./node_modules/.bin/tsc --extendedDiagnostics