-
Notifications
You must be signed in to change notification settings - Fork 134
[BUG] Imports not being properly deprefixed from npm:
#640
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
Comments
You can workaround this by specifying handler as one of the exports in your |
Since "handler" is a adapter for SvelteKit it "imports" some files that don't exist in the repo but will exist after being copied into the SvelteKit build folder, and this breaks publishing on JSR: https://github.com/hearchco/sveltekit-adapter-aws/actions/runs/9910061704/job/27379574375#step:7:10 |
Ah I see - then for the moment, as a workaround, you can try renaming the file to Definitely a bug during publishing on our side. |
Hmm, but then I would need to rename it back to |
Any updates on this? |
I'm building a SvelteKit adapter and am trying to publish it on jsr.io, is uses two imports:
Both of those when uploaded to jsr.io get changed to:
Only the esbuild one when pulled via
pnpm dlx jsr add @hearchco/sveltekit-adapter-aws
gets changed back to original:This is causing my SvelteKit built to error out with, and if I manually change it to original in the node_modules the build is successful:
The text was updated successfully, but these errors were encountered: