boolean
false
Whether to disable TypeScript type checker during compilation.
By default, Modern.js will run the TypeScript type checker in a separate process during the build process. Its checking logic is consistent with TypeScript's native tsc
command. You can use tsconfig.json
or tools.tsChecker
config to customize the checking behavior.
Disable TypeScript type checker:
Disable type checker in development:
Disable type checker in production:
It is not recommended to disable type checker in production, which will reduce the stability of the production code, please use it with caution.