Files
test-repo/scripts/build/transform/transforms/transform-string-replace-all.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
378 B
JavaScript
Raw Normal View History

import createMethodCallTransform from "./create-method-call-transform.js";
const transformStringReplaceAll = createMethodCallTransform({
methodName: "replaceAll",
argumentsLength: 2,
functionName: "__stringReplaceAll",
functionImplementationUrl: new URL(
"../../shims/string-replace-all.js",
import.meta.url,
),
});
export default transformStringReplaceAll;