Skip to content

Commit

Permalink
fix: exclude scanning node_modules when trying to locate README.md
Browse files Browse the repository at this point in the history
Closes #2418
  • Loading branch information
alan-agius4 committed Sep 1, 2022
1 parent 1d24c06 commit b54159b
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 198 deletions.
2 changes: 1 addition & 1 deletion src/lib/ng-package/entry-point/write-package.transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function copyAssets(
const globsForceIgnored: string[] = ['.gitkeep', '**/.DS_Store', '**/Thumbs.db', `${ngPackage.dest}/**`];
const defaultAssets: AssetEntry[] = [
{ glob: 'LICENSE', input: '/', output: '/' },
{ glob: '**/README.md', input: '/', output: '/' },
{ glob: '**/README.md', input: '/', output: '/', ignore: ['node_modules/**'] },
];
const assets: AssetEntry[] = [];

Expand Down
Loading

0 comments on commit b54159b

Please sign in to comment.