[heft] Webpack dev server URL should be displayed more prominently #4213
Labels
effort: easy
Probably a quick fix. Want to contribute? :-)
enhancement
The issue is asking for a new feature or design change
help wanted
If you're looking to contribute, this issue is a good place to start!
Summary
I created a similar GitHub issue for the webpack-dev-server project: webpack/webpack-dev-server#4907
But Heft has its own reimplementation of this logic, so
@rushstack/heft-webpack5-plugin
requires a separate fix, tracked by this issue.Repro steps
cd apps/lockfile-explorer-web
rush install && rush build -T . && rushx start
You will see output like this:
Heft helpfully prints the URL of the localhost dev server, however there are a couple usability problems with the design:
webpack-dev-server
prints it using ANSI color, which is much better. Maybe we could even include an emoji such as➡️ Started dev server at: https://127.0.0.1:8096
Details
Heft's implementation is here:
rushstack/heft-plugins/heft-webpack5-plugin/src/Webpack5Plugin.ts
Lines 273 to 280 in 647e037
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@rushstack/heft
version?0.56.0
node -v
)?The text was updated successfully, but these errors were encountered: