Trying to have a basic understanding of the module and purpose.
I would like to know the difference between the compilation options of the module and the target in a typical tsconfig.json
{
"compilerOptions": {
"module": "es6",
"sourceMap": true,
"target": "es6"
}
}
What happens if I provide the following options:
module: commonjs, target: es6
module: es6, target: commonjs
module: commonjs, target: commonjs
source share