template
template copied to clipboard
Generated links to ...css and ... js file need a "." at the beginning
Reproduce the error by:
npx degit sveltejs/template my-svelte-project
cd my-svelte-project
npm i
npm run build
open the index.html file in the generated dist folder and see that the generated hrefs to the ... css and js files lack a "." at the beginning.
If by this you mean that the paths in https://github.com/sveltejs/template/blob/master/public/index.html should be relative - it's intentional that they are absolute, which allows the app to be used in as an SPA. If you need them to be relative, you can just edit them accordingly.