Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/configCases/output/worker-public-path/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Worker } from
"worker_threads"
;
2
3
it(
"should define public path"
,
async
() => {
4
const
worker =
new
Worker(
new
URL(
"./worker.js"
,
import
.meta.url), {
Callers
nothing calls this directly
Calls
4
postMessage
Method · 0.80
terminate
Method · 0.80
it
Function · 0.50
require
Function · 0.50
Tested by
no test coverage detected