Skip to content

Updated typescript library template #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

bbottema
Copy link

@bbottema bbottema commented Jun 3, 2017

Hi Marco,

Thank you so much for your template, it was an incredible help for me after researching this topic for a very long time.

I updated your template and every change is a separate commit so you can see exactly what I did and why. I hope you will incorporate some of these updates!

Warm regards,

  • Benny

bbottema added 16 commits June 3, 2017 06:21
…e the build script really is. Cleaned up missing/trailing comma's etc.
…(it wouldn't use it's own library, but it would export everything in a 'barrel' index, so all types can be required from one import)
…, which is configured to be excluded from the distribution, so users are free to omit it or choose their own version. It doesn't affect the dist size at all.
… libraries need this, for example when working with Angular2+
export * from './Greeter';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This an example of a 'barrel' index, where a library re-exports everything in a single index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants