Static Method Summary
| Static Public Methods | ||
| public static |
identifierOf(name: string): string |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(name: string, path: string, includeAll: boolean, nameMap: NameMap) |
|
Member Summary
| Public Members | ||
| public |
CLI engine (Hash bang) |
|
| public |
Directory path of this module |
|
| public |
|
|
| public get |
Paths of all the dependency needed to be bundled |
|
| public |
Full name of this module file |
|
| public get |
Identifier of this module in JS code |
|
| public |
|
|
| public |
source: * |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
|
|
| public |
|
|
| Protected Methods | ||
| protected |
Add a depended module of this module |
|
| protected |
|
|
| protected |
|
|
| protected |
|
|
| protected |
|
|
Static Public Methods
Public Constructors
public constructor(name: string, path: string, includeAll: boolean, nameMap: NameMap) source
Params:
| Name | Type | Attribute | Description |
| name | string | Path of this module |
|
| path | string |
|
Root path of the package which this module belongs to |
| includeAll | boolean |
|
Treat NPM modules as CommonJS modules |
| nameMap | NameMap |
|
Map to replace some dependencies to others |
Public Members
public dependency: Object source
Properties:
| Name | Type | Attribute | Description |
| compile | DependencyMap | Compile-time dependency from AMD |
|
| runtime | DependencyMap | Runtime dependency from CommonJS |
|
| outside | DependencyMap | Outside dependency from NPM |
public source: * source
Public Methods
public mapName(module: string): string source
Params:
| Name | Type | Attribute | Description |
| module | string | Module name from source code |
Emit:
ReplaceEvent |
Protected Methods
protected addChild(type: string, name: string, varName: string): String source
Add a depended module of this module
