steps to reproduce the issue with non-relative packages, index.html is intentionally not inside of web.
Assuming Python 3.x and Dart 2.x is available:
git clone
repositorycd
into itpub get
pub run build_runner watch -o js
python3 -m http.server
(in new terminal window/tab)- open
http://localhost:8000/js/web/some_static/index.html
in a browser and see 404 errors in the console - uncomment
base tag
inindex.html
to make example work, not really a solution to me...