ember-asset-size-report

Home > ember-asset-size-report > ReportGenerator

ReportGenerator 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.

Report generation utility

Signature:

declare class ReportGenerator 

Constructors

Constructor Modifiers Description
(constructor)(project, reportPath, outputOptions)   (BETA) Constructs a new instance of the ReportGenerator class

Methods

Method Modifiers Description
addPublicFile(assetPath)   (BETA) Add asset size data relating to a file within the ./public folder, to the csv container
analyze()   (BETA) Analyze the entire project, calculating bundle and module sizes
save()   (BETA) Save the report to disk