ember-asset-size-report

Home > ember-asset-size-report > Module

Module class

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 

Constructors

Constructor Modifiers Description
(constructor)(bundle, name, reportedSize)   (BETA) Constructs a new instance of the Module class

Properties

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