Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
node:
export default function esbuildPluginStripNodeProtocol() {
return {
name: "strip-node-protocol",
setup(build) {
build.onResolve({ filter: /^node:/ }, ({ path }) =>
build.resolve(path.slice(5))
);
},
};
}