Typescript Configuration in SOMOD Module


SOMOD's typescript configuration helps to compile the source code into the distributable format.

SOMOD uses a predefined set of typescript definitions in the tsconfig.somod.json file.

The content of the tsconfig.somod.json file is as follows

{ "compilerOptions": { "allowUmdGlobalAccess": true, "outDir": "build", "declaration": true, "target": "ES5", "module": "ESNext", "rootDir": "./", "moduleResolution": "Node", "esModuleInterop": true, "importHelpers": true, "skipLibCheck": true, "jsx": "react-jsx" }, "include": ["lib", "serverless", "ui"] }

Any extra configurations are allowed, but these configurations must be present and not altered.

Till now this guide explained the main concepts and project structure in the SOMOD module. In the next chapter, let us understand how to extend the capabilities of SOMOD using extensions.

Does this page need improvements?
Edit This Page in GitHub
Did this page help you?
Provide feedback in the GitHub Discussion Page
Need More help?

Write an email to opensource@sodaru.com

This documentation is built using
Developed and Maintained By
Sodaru Technologies
https://sodaru.com
© 2023