Skip to content

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+
const example = new Greeter('World');

console.log(example.greet()); No newline at end of file
export * from './Greeter'; No newline at end of file
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