Update: I found the fix: https://github.com/parcel-bundler/parcel/issues/1092#issuecomment-377116795
- Delete your dist folder.
- Change your build script to this:
"build": "parcel build src/index.html --public-url ./",
(This adds the path for the public url) - Run the build and deploy scripts again.
Then it should be ready for gh-pages.
As an aside - parcel looks really sweet! I’m sort of amazed that it bundles everything up with so little config required!