Skip to content

Commit 9871e74

Browse files
authored
Merge pull request #619 from sricc/configuration-performance-example
Fixing configuration performance example
2 parents 5ef202d + 4b49a6c commit 9871e74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/configuration/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ contributors:
66
- skipjack
77
- grgur
88
- bondz
9+
- sricc
910
---
1011

1112
Webpack is fed via a configuration object. It is passed in one of two ways depending on how you are using webpack: through the terminal or via Node.js. All the available configuration options are specified below.
@@ -294,7 +295,7 @@ T> Notice that throughout the configuration we use Node's built-in [path module]
294295
[maxEntrypointSize](/configuration/performance#performance-maxentrypointsize): 400000, // int (in bytes)
295296
[assetFilter](/configuration/performance#performance-assetfilter): function(assetFilename) {
296297
// Function predicate that provides asset filenames
297-
return assetName.endsWith('.css') || assetName.endsWith('.js');
298+
return assetFilename.endsWith('.css') || assetFilename.endsWith('.js');
298299
}
299300
},
300301

0 commit comments

Comments
 (0)