Skip to content

Commit

Permalink
Provided example of custom filename & localtion (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredMachineUser authored and chrisbateman committed Aug 18, 2016
1 parent 3b63ccb commit a7860db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -22,6 +22,16 @@ plugins: [new Visualizer()],
```
This will output a file named `stats.html` in your output directory. You can modify the name/location by passing a `filename` parameter into the constructor.

```javascript
var Visualizer = require('webpack-visualizer-plugin');

//...
plugins: [new Visualizer({
filename: './statistics.html'
})],
//...
```

---

![](https://cloud.githubusercontent.com/assets/1145857/10471320/5b284d60-71da-11e5-8d35-7d1d4c58843a.png)

0 comments on commit a7860db

Please sign in to comment.