From c960430ff9a47bb94ef53ad79fbb759343ea3abb Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Tue, 24 Jan 2017 13:43:22 -0800 Subject: [PATCH 1/2] Fix typo in webpack PerformanceOptions s/maxEntryPointSize/maxEntrypointSize --- webpack/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 73f575c973..a557034131 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -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). */ From a70e784fec04cf50367ebcd11d88c67a66058614 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Tue, 24 Jan 2017 14:59:01 -0800 Subject: [PATCH 2/2] fix test --- webpack/webpack-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index 8af08751ed..7c1f109a2d 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -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');