import { d as develop$1, h as handleUnexpectedError } from "./index-efba4075.mjs";
import "@strapi/typescript-utils";
import "node:os";
import "node:fs/promises";
import "node:path";
import "inquirer";
import "semver";
import "resolve-from";
import "execa";
import "read-pkg-up";
import "outdent";
import "prettier";
import "react";
import "react-dom/server";
import "react/jsx-runtime";
import "webpack";
import "browserslist-to-esbuild";
import "esbuild-loader";
import "html-webpack-plugin";
import "mini-css-extract-plugin";
import "fork-ts-checker-webpack-plugin";
import "webpack-bundle-analyzer";
import "node:crypto";
import "@pmmmwh/react-refresh-webpack-plugin";
import "path";
import "find-root";
import "esbuild-register/dist/node";
import "boxen";
import "chalk";
import "browserslist";
import "@strapi/strapi";
import "@strapi/utils";
import "dotenv";
import "node:fs";
import "lodash/camelCase";
import "@strapi/strapi/dist/utils/ee";
import "perf_hooks";
import "chokidar";
import "node:cluster";
import "node:util";
import "webpack-dev-middleware";
import "webpack-hot-middleware";
const develop = async (options) => {
  try {
    if (typeof options.browser !== "undefined") {
      options.logger.warn(
        "[@strapi/strapi]: The browser argument, this is now deprecated. Use '--open' instead."
      );
    }
    await develop$1({
      ...options,
      open: options.browser ?? options.open
    });
  } catch (err) {
    handleUnexpectedError(err);
  }
};
export {
  develop
};
//# sourceMappingURL=develop-0c698ae9.mjs.map
