Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rrosenshain-sc opened this issue Jan 22, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@rrosenshain-sc
Copy link

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.

@rrosenshain-sc rrosenshain-sc added bug Something isn't working pending triage The issue/PR is currently untouched. labels Jan 22, 2025
@chenjiahan chenjiahan removed the pending triage The issue/PR is currently untouched. label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants