Skip to content

Commit

Permalink
fix: update bundlesize help command (#617)
Browse files Browse the repository at this point in the history
The config for limiting the bundlesize is:

```js
{
  bundlesize: {
    maxSize: '100kB'
  }
}
```

and not

```js
{
  bundlesize: '100kB'
}
```

as the help text implies.
  • Loading branch information
achingbrain authored Aug 11, 2020
1 parent 2fe4403 commit beedcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
bundlesize: {
alias: 'b',
type: 'boolean',
describe: 'Analyse bundle size. Default threshold is 100kB, you can override that in `.aegir.js` with the property `bundlesize`.',
describe: 'Analyse bundle size. Default threshold is 100kB, you can override that in `.aegir.js` with the property `bundlesize.maxSize`.',
default: false
}
})
Expand Down

0 comments on commit beedcdb

Please sign in to comment.