// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { createWorker } from "../workers/worker.js";
import { compilerProtocol } from "./compiler.js";

// message handler exported for backwards compatibility
export const messageHandler = createWorker(compilerProtocol);
addEventListener("message", messageHandler);
