Home > ember-asset-size-report > Stats
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.
Stats data store
Signature:
declare class Stats
Constructor | Modifiers | Description |
---|---|---|
(constructor)(csvFileName, dataSetName, options) | (BETA) Constructs a new instance of the Stats class |
Method | Modifiers | Description |
---|---|---|
addBundleRow(bundleName, sizes) | (BETA) Add a bundle’s size information to the data set | |
addModuleRow(bundleName, fileName, sizes) | (BETA) Add a module’s size information to the data set | |
save(project, spinner) | (BETA) Save this data set as a CSV file |