Constructor Summary
| Public Constructor | ||
| public |
constructor(path: string, includeAll: boolean, moduleMap: NameMap, noLog: boolean) |
|
Member Summary
| Public Members | ||
| public |
The root path of this package (relative to |
|
| public get |
Entry module of this package |
|
| public |
Whether include NPM modules in the final bundle |
|
| public |
Module count of this package |
|
| public |
|
|
| public get |
Outside dependencies of this package |
|
| public |
The entry file path of this package |
|
| public |
Whether show logs during the bundle process |
|
Method Summary
| Public Methods | ||
| public |
[Symbol.iterator](): * |
|
| public |
|
|
| public |
|
|
| Protected Methods | ||
| protected |
|
|
| protected |
|
|
Public Constructors
public constructor(path: string, includeAll: boolean, moduleMap: NameMap, noLog: boolean) source
Params:
| Name | Type | Attribute | Description |
| path | string | The entry file path of this package
(relative to |
|
| includeAll | boolean |
|
Include NPM modules in the final bundle |
| moduleMap | NameMap |
|
Map to replace some dependencies to others |
| noLog | boolean |
|
Disable log output |
Public Members
Public Methods
public bundle(name: string): string source
Params:
| Name | Type | Attribute | Description |
| name | string |
|
Module name of bundled package (Default: The entry module's name) |
