Skip to content

Commit

Permalink
fix: remove tslib from peerDependencies when adding it to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 committed May 19, 2020
1 parent 71c8013 commit 2981f73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/ng-package/entry-point/write-package.transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ async function writePackageJson(
...(packageJson.dependencies || {}),
tslib: packageJson.peerDependencies.tslib,
};

delete packageJson.peerDependencies.tslib;
}
}

Expand Down

0 comments on commit 2981f73

Please sign in to comment.