Skip to content

[Fix] sveltekit build relative path issue#411

Merged
mishig25 merged 1 commit into
mainfrom
sveltekit_no_relative_path
Sep 26, 2023
Merged

[Fix] sveltekit build relative path issue#411
mishig25 merged 1 commit into
mainfrom
sveltekit_no_relative_path

Conversation

@mishig25

@mishig25 mishig25 commented Sep 26, 2023

Copy link
Copy Markdown
Contributor

Closes huggingface/dataset-viewer#1850

Problem

Sveltekit 1.0 builds js files and references them in a relative path manner.

Solution

Set relative: false, in svelte config file

@mishig25 mishig25 merged commit 60170e9 into main Sep 26, 2023
@mishig25 mishig25 deleted the sveltekit_no_relative_path branch September 26, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "Javascript" and "Curl" links don't work in docs

1 participant