Skip to content

Fix dev-web 404 and strengthen CI content check - #442

Merged
AlexITC merged 2 commits into
wiringbits:masterfrom
AlexITC:fix-dev-web-404
May 22, 2026
Merged

Fix dev-web 404 and strengthen CI content check#442
AlexITC merged 2 commits into
wiringbits:masterfrom
AlexITC:fix-dev-web-404

Conversation

@AlexITC

@AlexITC AlexITC commented May 22, 2026

Copy link
Copy Markdown
Contributor

scripts/test-dev-web.sh: in addition to checking HTTP 200, verify
the response body contains the app bundle reference and that the
bundle itself is reachable — prevents the script from passing on a
transient server startup page.

AlexITC and others added 2 commits May 22, 2026 07:16
custom.webpack.config.js: add devServer.contentBase pointing to
web/src/main/js so webpack-dev-server always finds index.html and
other static assets even on a fresh checkout (before any prior build).

scripts/test-dev-web.sh: in addition to checking HTTP 200, verify
the response body contains the app bundle reference and that the
bundle itself is reachable — prevents the script from passing on a
transient server startup page.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Serving index.html from src/main/js/ is incorrect: the compiled Scala.js
bundle lives in the webpack output (target/), not the source tree. The
actual 404 issue was caused by the @webpack-cli/serve crash already fixed
in master. The only needed fix here is the CI content check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@AlexITC
AlexITC merged commit fa8be8a into wiringbits:master May 22, 2026
1 check passed
@AlexITC
AlexITC deleted the fix-dev-web-404 branch May 22, 2026 13:52
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