jelgblad / angular2-masonry

https://github.com/desandro/masonry module for Angular2
101 stars 48 forks source link

"main" entry point in package.json file type #34

Open cjsheets opened 7 years ago

cjsheets commented 7 years ago

"main": "angular2-masonry.js", - is declared in your package.json, however the filename is angular2-masonry.ts

This doesn't seem to be a problem for webpack but when I tried to use your module in a meteor application the discrepancy caused meteors build process to fail.

I'm not sure if it matters whether the package.json changes to .ts, or the file changes to .js. For my purposes I changed your package.json to *.ts and I thought I'd let you know.

Thanks for putting this together.

cjsheets commented 7 years ago

To correct myself, changing .js to .ts was a bad idea. I just copied angular2-masonry.ts to angular2-masonry.js instead.