@web/dev-server

  • Version 0.4.6
  • Published
  • 79.3 kB
  • 14 dependencies
  • MIT license

Install

npm i @web/dev-server
yarn add @web/dev-server
pnpm add @web/dev-server

Overview

Dev server for web applications

Index

Functions

function esbuildPlugin

esbuildPlugin: (target: string | string[]) => any;

    function mergeConfigs

    mergeConfigs: (
    ...configs: Partial<DevServerConfig | undefined>[]
    ) => Partial<DevServerConfig>;

      function nodeResolvePlugin

      nodeResolvePlugin: (
      rootDir: string,
      preserveSymlinks?: boolean,
      userOptions?: RollupNodeResolveOptions
      ) => Plugin;

        function startDevServer

        startDevServer: (options?: StartDevServerParams) => Promise<DevServer>;
        • Starts the dev server.

        Classes

        class DevServerStartError

        class DevServerStartError extends Error {}

          Type Aliases

          type DevServerConfig

          type DevServerConfig = Partial<FullDevServerConfig>;

            Package Files (6)

            Dependencies (14)

            Dev Dependencies (3)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@web/dev-server.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@web/dev-server)
            • HTML
              <a href="https://www.jsdocs.io/package/@web/dev-server"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>