<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [ember-asset-size-report](./ember-asset-size-report.md) &gt; [ReportGenerator](./ember-asset-size-report.reportgenerator.md) &gt; [addPublicFile](./ember-asset-size-report.reportgenerator.addpublicfile.md)

## ReportGenerator.addPublicFile() method

> 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.
> 

Add asset size data relating to a file within the ./public folder, to the csv container

<b>Signature:</b>

```typescript
addPublicFile(assetPath: string): Promise<void>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  assetPath | <code>string</code> |  |

<b>Returns:</b>

`Promise<void>`

