88ed5269b5
Updates the hotUpdateChunk to include `[runtime]` for web workers support. Fixes #26152 Fixes #19865 Fixes #26144 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
8 lines
206 B
JavaScript
8 lines
206 B
JavaScript
import { Expensive } from './sharedCode'
|
|
import faker from 'faker'
|
|
|
|
// Ensure a large libraries is added so that splitChunks would trigger if enabled.
|
|
console.log(faker)
|
|
|
|
Expensive()
|
|
self.postMessage(true)
|