Я хотел бы экспортировать скомпилированный javascript в module.export
ниже мой tsconfig:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
"esModuleInterop": true,
"alwaysStrict": true,
"removeComments": true
},
"include":[
"./src/**/*",
"./tests/*",
"./index.ts"
],
"exclude": [
"node_modules",
"./node_modules",
"./node_modules/*",
"./node_modules/@types/node/index.d.ts",
"./tests/*.d.ts"
]
}
Есть ли что-то, что мне нужно добавить в мою конфигурацию, чтобы я мог достичь module.export = ModuleA