Skip to content

Commit bd77672

Browse files
committed
Update configuration files paths
1 parent 28d7ad9 commit bd77672

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"experimentalDecorators": true,
1313
"emitDecoratorMetadata": true
1414
},
15-
"include": ["src/**/*.ts", "index.ts", "src/api.ts", "netlify/functions"],
15+
"include": ["src/**/*.ts", "index.ts", "netlify/functions"],
1616
"exclude": ["node_modules", "dist", "src/routes/*"]
1717
}

tsoa.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"entryFile": "src/api.ts",
2+
"entryFile": "index.ts",
33
"noImplicitAdditionalProperties": "throw-on-extras",
44
"controllerPathGlobs": ["src/controllers/**/*Controller.ts"],
55
"spec": {
@@ -9,6 +9,7 @@
99
},
1010
"routes": {
1111
"routesDir": "tsoa-routes",
12-
"basePath": "/api"
12+
"basePath": "/api",
13+
"useESModules": true
1314
}
1415
}

0 commit comments

Comments
 (0)