Skip to content

Commit 1a2da6a

Browse files
committed
Add comment for checking excluded packages
1 parent 8520119 commit 1a2da6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export class TypeScriptPlugin {
7777
exclude: [],
7878
include: [],
7979
}
80+
// Add plugin to excluded packages or an empty array if exclude is undefined
8081
fn.package.exclude = _.uniq([...fn.package.exclude || [], 'node_modules/serverless-plugin-typescript'])
8182
}
8283
}

0 commit comments

Comments
 (0)