Skip to content

Conversation

Copy link

Copilot AI commented Jan 16, 2026

The deployed playground page fails to load with "expr-eval library not loaded" because the HTML references /dist/bundle.js using an absolute path. GitHub Pages serves from /expr-eval/ subdirectory, causing the absolute path to resolve incorrectly.

Changes

  • Changed script src from /dist/bundle.js to ./dist/bundle.js in samples/language-service-sample/index.html
<!-- Before: resolves to https://pro-fa.github.io/dist/bundle.js (404) -->
<script src="/dist/bundle.js"></script>

<!-- After: resolves to https://pro-fa.github.io/expr-eval/dist/bundle.js -->
<script src="./dist/bundle.js"></script>
Original prompt

The "deploy playground" action does deploy the html but when loading the page it fails with this message: "expr-eval library not loaded. Please run: npm run build"

Fix the pipieline to ensure that it can find the library. (The expr-eval library is the library that this repository provides)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Sander-Toonen <5106372+Sander-Toonen@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix pipeline to load expr-eval library for deployment Fix playground deploy: use relative path for bundle.js Jan 16, 2026
Copilot AI requested a review from Sander-Toonen January 16, 2026 14:27
@Sander-Toonen Sander-Toonen marked this pull request as ready for review January 16, 2026 14:35
@Sander-Toonen Sander-Toonen merged commit 58e26ae into master Jan 16, 2026
4 checks passed
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.

2 participants