Skip to content

Commit 2640562

Browse files
committed
fixed rootDir
1 parent 555b8ee commit 2640562

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-plugin-typescript",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"main": "dist/src/index.js",
55
"files": [
66
"dist",

src/typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export function getTypescriptConfig(cwd: string): ts.CompilerOptions {
6666
target: ts.ScriptTarget.ES5,
6767
moduleResolution: ts.ModuleResolutionKind.NodeJs,
6868
lib: ['lib.es2015.d.ts'],
69+
rootDir: './',
6970
}
7071

7172
return defaultTypescriptConfig

0 commit comments

Comments
 (0)