// packages/dev-tools/angular/index.ts
async function builderDevTools() {
  if (typeof document !== "undefined" && window.location.hostname === "localhost") {
    let devToolsScript = document.head.querySelector(
      "script[data-builder-dev-tools]"
    );
    if (!devToolsScript) {
      devToolsScript = document.createElement("script");
      devToolsScript.setAttribute(
        "src",
        "http://localhost:5273/~builder-dev-tools.js"
      );
      devToolsScript.setAttribute("data-builder-dev-tools", "");
      devToolsScript.setAttribute("async", "");
      document.head.appendChild(devToolsScript);
    }
  }
}
export {
  builderDevTools
};
