How does it work?
October 15, 2020 ยท View on GitHub
How the plugin works
- The plugin analyzes chunks and extracts libraries to separated chunks with disabled tree-shaking (or not?).
- The plugin teaches entries and runtime to work with shared chunks.
How the app is loaded
- Entry points and runtime are loaded.
- Entry point checks if a shared required to run chunks are loaded and notifies the runtime about it.
- Runtime downloads all not downloaded libraries and marks them as downloaded.
- Runtime runs an app.