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
+7
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,13 @@ export default {
122
122
}
123
123
```
124
124
125
+
### `externalSystemJS`
126
+
127
+
-**Type:**`boolean`
128
+
-**Default:**`false`
129
+
130
+
Defaults to `false`. Enabling this option will exclude `systemjs/dist/s.min.js` inside polyfills-legacy chunk.
131
+
125
132
## Dynamic Import
126
133
127
134
The legacy plugin offers a way to use native `import()` in the modern build while falling back to the legacy build in browsers with native ESM but without dynamic import support (e.g. Legacy Edge). This feature works by injecting a runtime check and loading the legacy bundle with SystemJs runtime if needed. There are the following drawbacks:
0 commit comments