'How to include additional files in a specific module instead of the main app module in Angular?
Suppose I generated an Angular module from the CLI using ng g m XYZ and later generate a component under this module. In build time all of these files will be bundled together.
Now if I add a JSON file, that I would only use in this module, how do I configure it so that in build time it is bundled with this module and not in the main app.module.ts
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
