Merge pull request #8817 from huruji/master

feat(Chunk.js):   size fn: Modify options to default parameter
This commit is contained in:
Tobias Koppers 2019-03-15 09:48:16 +01:00 committed by GitHub
commit 5843e25205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ class Chunk {
* @param {Object} options the size display options
* @returns {number} the chunk size
*/
size(options) {
size(options = {}) {
return this.addMultiplierAndOverhead(this.modulesSize(), options);
}