Skip to content
VS Code

package.json exports resolver (which file Node loads) for VS Code

io.github.lawatch/package-exports

Which file Node loads for import or require of pkg/sub, and why: package.json exports, same as Node.

client:VS Code transport:stdio runtime:oci

Install package.json exports resolver (which file Node loads) in VS Code

.vscode/mcp.json

{
  "servers": {
    "package-exports": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/lawatch/package-exports:1.0.0"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

package.json exports resolver (which file Node loads) in other clients