Skip to content

Commit 044850c

Browse files
authored
Update README.md (#532)
1 parent 5e90ffa commit 044850c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ For example, if lazy loading `<script type="module-shim">` scripts alongside sta
795795

796796
DOM `load` events are fired for all `"module-shim"` scripts both for success and failure just like for native module scripts.
797797

798-
### Pollyfill Enable Option
798+
### Polyfill Enable Option
799799

800800
The `polyfillEnable` option allows enabling polyfill features which are newer and would otherwise result in unnecessary polyfilling in modern browsers that haven't yet updated.
801801

@@ -813,7 +813,7 @@ In adddition, the `"all"` option will enable all features.
813813

814814
The reason the `polyfillEnable` option is needed is because ES Module Shims implements a performance optimization where if a browser supports modern modules features to an expected baseline of import maps support, it will skip all polyfill source analysis resulting in full native passthrough performance.
815815

816-
### Pollyfill Disable Option
816+
### Polyfill Disable Option
817817

818818
Conversely to `polyfillEnable` it can be beneficial to dissable unused features where excluding those features from the baseline allows avoiding unnecessary feature detections or unnecessary analysis of module graphs.
819819

0 commit comments

Comments
 (0)