Skip to content

Commit

Permalink
Missing .npmignore in @aws-cdk/cloudwatch (#218)
Browse files Browse the repository at this point in the history
This caused a runtime error of `Cannot find module './alarm'`
only to be discovered post-installation of the bundle, which is
extremely late in the game.

Related to #217
  • Loading branch information
Elad Ben-Israel authored Jul 2, 2018
1 parent f7a5c3b commit 1fd4edc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/@aws-cdk/cloudwatch/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Don't include original .ts files when doing `npm pack`
*.ts
!*.d.ts
coverage
.nyc_output
*.tgz

0 comments on commit 1fd4edc

Please sign in to comment.