I want to deploy to project to Github Pages. Thus, its convenient to get assets based on a relative public path.
Default behavior is to reference assets from /dist/file.ext
. We can use --public-path "/"
to serve assets from /file.ext
. But --public-path ""
doesn't work and I want to serve assets from the relative path file.ext
.
Hello @ccorcos,
you mean --public-url ?
Yes. Actually, I just discovered --public-url '.'
works :)
Most helpful comment
Yes. Actually, I just discovered
--public-url '.'
works :)