Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Generated links to ...css and ... js file need a "." at the beginning #248

Open
michael-spengler opened this issue Jun 23, 2021 · 1 comment

Comments

@michael-spengler
Copy link

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.

@Conduitry Conduitry transferred this issue from sveltejs/svelte Jun 23, 2021
@Conduitry
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants