mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
10 lines
190 B
JavaScript
10 lines
190 B
JavaScript
import constant from './modules/module0.js'
|
|
|
|
self.onconnect = (event) => {
|
|
const port = event.ports[0]
|
|
port.postMessage(constant)
|
|
}
|
|
|
|
// for sourcemap
|
|
console.log('url-shared-worker.js')
|