Osanda Gamage
Osanda Gamage

Reputation: 522

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"

Upvotes: 15

Views: 19409

Answers (1)

Gerrat
Gerrat

Reputation: 29710

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

Upvotes: 16

Related Questions