Skip to content

Commit

Permalink
minify and bundle
Browse files Browse the repository at this point in the history
Signed-off-by: Francis <colifran@amazon.com>
  • Loading branch information
colifran committed Nov 2, 2023
1 parent 9a27910 commit eb732e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function recFolderStructure(fileOrDir: string) {
recFolderStructure(path.join(fileOrDir, i));
}
} else {
// minify + bundle 'index.ts' and 'index.js' files
if (['index.ts', 'index.js'].some(file => fileOrDir.includes(file))) {
entryPoints.push(fileOrDir);
}
Expand Down

0 comments on commit eb732e8

Please sign in to comment.