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 path resolution errors #26

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Fix path resolution errors #26

merged 1 commit into from
Mar 31, 2022

Conversation

subdavis
Copy link
Contributor

@subdavis subdavis commented Mar 30, 2022

This is the real problem with #22 #24 that previous changes didn't fix.

You can end up with //cesium as your link, which is a valid URI and not the same thing the user specified in config.base.

Tested working:

base='', base='./', base='/', base='/foo/'

Using this workaround

I built a version of this plugin to use while we wait for this to merge and release. Add this to package json.

"vite-plugin-cesium": "git+ssh://git@github.com:subdavis/vite-plugin-cesium.git",

@nshen nshen merged commit 3edef53 into nshen:main Mar 31, 2022
nshen added a commit that referenced this pull request Mar 31, 2022
- Fix: Fix path resolution errors #26

Thanks @subdavis
@nshen
Copy link
Owner

nshen commented Mar 31, 2022

Thank you, I think you are right.

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.

2 participants