Skip to content

invalid import path in _worker.js #13667

@zhihengGet

Description

@zhihengGet

Describe the bug

import { Server } from "../C:\Users\.... ... \apps\web\.svelte-kit/output/server/index.js";
import { manifest, prerendered, base_path } from "../C:\Users....\.svelte-kit/cloudflare-tmp/manifest.js";

im on windows and i tried to use latest cloudflare adapter , but _worker.js genrated window style path above which is invalid. it is using wrong slash

Reproduction

not needed?

Logs

System Info

windows 11 , @sveltejs/[email protected]

Severity

blocking an upgrade

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions