johnpapa / johnpapa/hottowel-angular-typescript
Commonjs and Webpack
- Dominant language
- JavaScript
- Stars
- 146
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Do you think it is preferable to switch over to Commonjs module code generation in combination with Webpack?
The main benefit I see is that dependencies are tracked through explicit imports within the .ts-files instead of having to wire them up manually in index.html or the tsconfig-files section to maintain execution order. Additionally, Webpack reduces configuration complexity compared to the chaining of several gulp tasks and its system also incorporates the bundling of styles and vendor assets through explicit referencing from within .ts-files.
A major downside I feel is that in the Commonjs pattern you will need to add explicit references in every .ts-file you produce.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.