webpack-dev-server-types
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-rc.1 • Public • Published

webpack-dev-server-types

Up-to-date types for webpack-dev-server, generated from JSON schema.

The Problem

With webpack@v5 being stable for several months now, webpack-dev-server@v4 remains in beta, with no clear release timeline in sight. The only officially available types for webpack-dev-server (@types/webpack-dev-server) are still limited to v3; understandably so, as v4 has had at least one breaking config change in each of its betas. That leaves webpack@v5 users stuck with having to use the webpack-dev-server beta without any Typescript typings, and without an easy way to identify breaking config changes (the release notes haven't been terribly helpful).

The Solution

This is where this repo and npm package, webpack-dev-server-types, comes in. Using GitHub Actions, it monitors the webpack/webpack-dev-server repo for new releases. When there is a new release, types are automatically generated from the lib/options.json JSON schema, using quicktype, and a new version of the types is released (with a matching version number).

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-dev-server-types

Weekly Downloads

1

Version

4.0.0-rc.1

License

MIT

Unpacked Size

13.3 kB

Total Files

13

Last publish

Collaborators

  • hmnd