Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ escapeRegExp
Function
escapeRegExp
test/configCases/node/output-module-external/import.js:1–1 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
1
const
escapeRegExp = (value) => value.replace(/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
2
3
it(
"should load node builtins via dynamic import"
,
async
() => {
4
const
load =
async
(modulePromise) => {
Callers
1
import.js
File · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected