mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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
9 lines
206 B
JavaScript
9 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)
|