Skip to content

add major features from webpack-dev-server reloaded#106

Open
prantlf wants to merge 2 commits intothgh:masterfrom
prantlf:wds_features2
Open

add major features from webpack-dev-server reloaded#106
prantlf wants to merge 2 commits intothgh:masterfrom
prantlf:wds_features2

Conversation

@prantlf
Copy link

@prantlf prantlf commented Jan 3, 2026

I rebased and a little modified @pkit's #55. It adds the same amount of options:

  • compress
  • proxy
  • before
  • after
  • historyApiFallback (object format)
  • contentBasePublicPath
  • serveIndex
  • headers

The end goal is to make sure it can run react-scripts config (almost) unmodified

Changes to the original PR:

  • Rebased on the latest master.
  • README.md updated.
  • The construct with features and runnableFeatures dissolved to a plain chain of conditions.
  • Fixed adding of custom headers.
  • Options compress and serveIndex can be also objects to be passed to the middleware functions.
  • Added autoPort by @asdw741111 (add new option autoPort #84)

* compress
* proxy
* before
* after
* historyApiFallback (object format)
* contentBasePublicPath
* serveIndex
* headers
@prantlf
Copy link
Author

prantlf commented Jan 3, 2026

I published this PR as @prantlf/rollup-plugin-serve for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant