Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow importing assets while using base path #8683

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

benmccann
Copy link
Member

Importing an asset would not work if you'd set paths.base because we were not stripping off the base path before checking for the asset on the file system

@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2023

🦋 Changeset detected

Latest commit: c59283a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris Rich-Harris merged commit c5bd0a5 into master Jan 23, 2023
@Rich-Harris Rich-Harris deleted the base-import-assets branch January 23, 2023 23:44
@github-actions github-actions bot mentioned this pull request Jan 23, 2023
@benmccann benmccann added the paths.base bugs relating to `config.kit.paths.base` label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
paths.base bugs relating to `config.kit.paths.base`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants