Merge pull request #14228 from mohsen1/patch-11

Fix typo in webpack PerformanceOptions
This commit is contained in:
Daniel Rosenwasser
2017-01-24 16:40:55 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1146,7 +1146,7 @@ declare namespace webpack {
/**
* An entrypoint represents all assets that would be utilized during initial load time for a specific entry. This option controls when webpack should emit performance hints based on the maximum entrypoint size. The default value is 250000 (bytes).
*/
maxEntryPointSize?: number;
maxEntrypointSize?: number;
/**
* An asset is any emitted file from webpack. This option controls when webpack emits a performance hint based on individual asset size. The default value is 250000 (bytes).
*/
+1 -1
View File
@@ -544,7 +544,7 @@ const resolve: webpack.Resolve = {
const performance: webpack.PerformanceOptions = {
hints: 'error',
maxEntryPointSize: 400000,
maxEntrypointSize: 400000,
maxAssetSize: 100000,
assetFilter: function(assetFilename) {
return assetFilename.endsWith('.js');