When building a project using the provided build script, everything functions as expected. Except when opening the exported site, any assets such as images, sounds, svg, etc all of which have broken paths in the dist js file.
(Tested with both my in-progress project and with a brand new project)
When building a project using the provided
build
script, everything functions as expected. Except when opening the exported site, any assets such as images, sounds, svg, etc all of which have broken paths in the dist js file. (Tested with both my in-progress project and with a brand new project)Example:
<img src="./assets/logo.png">
<img src="/dist/logo.png?82b9c7a5a3f405032b1db71a25f67021">
The
/dist
path either needs a.
prefix or the/
removed as it is trying to point to the system root. Also the asset names should not have a postfix.