Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webpack CLI error - [webpack-cli] Error: Unknown option '--inline'

When I try to start my Preact app using npm start it gives this error

[webpack-cli] Error: Unknown option '--inline'

This is my package.json script

"start": "webpack-dev-server --inline --hot --progress --content-base public --port 3333"
like image 738
Osanda Gamage Avatar asked Jan 01 '26 07:01

Osanda Gamage


1 Answers

It's been deprecated, and is true by default now.

You can't use inline option (it will be always true in next major).

From this comment on a related issue.
I couldn't find anything more authoritative about the change

like image 146
Gerrat Avatar answered Jan 06 '26 12:01

Gerrat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!