Skip to content

Unicode escape encoding in import paths (v3) #4618

Description

@gajus

Rollup Version

v3.0.0-4

Operating System (or Browser)

macOS

Node Version (if applicable)

v18.7.0

Link To Reproduction

N/A

Expected Behaviour

dist/server/assets/_default.page.server.8dd7229c.js to be correctly referenced in dist/server/pageFiles.js.

const pageFilesLazyServer1 = {
  "/renderer/_default.page.server.tsx": () => import("./assets/_default.page.server.\uF7F9\uE4D30001\uE3CC\uF1FE.js")
};

Actual Behaviour

const pageFilesLazyServer1 = {
  "/renderer/_default.page.server.tsx": () => import("./assets/_default.page.server.8dd7229c.js")
};

Not clear where this encoding is coming from and whether this is a Rollup issue or vite-plugin-ssr issue (@brillout)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions