Home > ember-asset-size-report > Module
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
File within a bundle, within a project
Signature:
export default class Module
Constructor | Modifiers | Description |
---|---|---|
(constructor)(bundle, name, reportedSize) | (BETA) Constructs a new instance of the Module class |
Property | Modifiers | Type | Description |
---|---|---|---|
bundle | Bundle |
(BETA) The bundle that this module belongs to | |
contents | string |
(BETA) The contents of this module | |
minifiedBundlePortion | number |
(BETA) The percentage of size that this module contributes to its minified bundle | |
name | string |
(BETA) This module’s name | |
sizes | ModuleSizes |
(BETA) Size information pertaining to this module |