You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/plugin-legacy/README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,11 @@ npm add -D terser
74
74
75
75
Add custom imports to the legacy polyfills chunk. Since the usage-based polyfill detection only covers ES language features, it may be necessary to manually specify additional DOM API polyfills using this option.
76
76
77
-
Note: if additional polyfills are needed for both the modern and legacy chunks, they can simply be imported in the application source code.
77
+
### `additionalModernPolyfills`
78
+
79
+
-**Type:**`string[]`
80
+
81
+
Add custom imports to the modern polyfills chunk. Since the usage-based polyfill detection only covers ES language features, it may be necessary to manually specify additional DOM API polyfills using this option.
0 commit comments