mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #14228 from mohsen1/patch-11
Fix typo in webpack PerformanceOptions
This commit is contained in:
Vendored
+1
-1
@@ -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).
|
||||
*/
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user