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
+2-12
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ npm add -D terser
44
44
45
45
The query is also [Browserslist compatible](https://github.com/browserslist/browserslist). See [Browserslist Best Practices](https://github.com/browserslist/browserslist#best-practices) for more details.
46
46
47
+
If it's not set, plugin-legacy will load [the browserslist config sources](https://github.com/browserslist/browserslist#queries) and then fallback to the default value.
48
+
47
49
### `polyfills`
48
50
49
51
-**Type:**`boolean | string[]`
@@ -63,18 +65,6 @@ npm add -D terser
63
65
64
66
Note: if additional polyfills are needed for both the modern and legacy chunks, they can simply be imported in the application source code.
0 commit comments