Skip to content

[Bug]: webpack-dev-server should be a dependency not a devDependency #9077

@rrosenshain-sc

Description

@rrosenshain-sc

System Info

N/A

Details

webpack-dev-server is being used directly to export types:
export interface DevServer extends webpackDevServer.Configuration {

But webpack-dev-server isn't a direct dependency so TS fallbacks to Any for webpackDevServer.Configuration.
I'm using pnpm v8.

Reproduce link

will provide if needed

Reproduce Steps

install rspack without directly install webpack dev server. Consume RspackDevServerOptions and notice webpack config are Any.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions