vite/playground/worker/deeply-nested-third-worker.js
patak 9d09dfe539
fix!: worker.plugins is a function (#14685)
Co-authored-by: jamsinclair <jamsinclair@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-10-19 11:36:24 +02:00

12 lines
246 B
JavaScript

self.postMessage({
type: 'deeplyNestedThirdWorker',
data: [
'Hello from third level nested worker',
import.meta.env.BASE_URL,
self.location.url,
import.meta.url,
].join(' '),
})
console.log('deeply-nested-third-worker.js')