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.
Write an email to somod@sodaru.com