jvandemo / jvandemo/generator-angular2-library
Support tree shaking
Open
Priority: Low
Status: Available
Type: Question
- Dominant language
- JavaScript
- Stars
- 740
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I have created Angular UI components for my project using this generator, but all my library component included in my application bundle (using `angular-cli`).
How can i have bundle only for the module (from my library) that i import in my application? Like `ngx-bootstrap` behavior.
```
import { TooltipModule } from 'ngx-bootstrap/tooltip`
```
For example if i'm only using `TooltipModule`, my application bundle only include `TooltipModule` from `ngx-bootstrap` not all modules.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.