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": "ES6", "rootDir": "./", "lib": ["ESNext", "DOM", "DOM.Iterable"], "moduleResolution": "Node", "esModuleInterop": true, "importHelpers": true, "skipLibCheck": true, "jsx": "react-jsx" }, "include": ["lib", "ui", "serverless"] }

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

As we have understood the main concepts in SOMOD, let us check out the SOMOD CLI in the next chapter.

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 somod@sodaru.com

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