Skip to content

ESM serving corrupted/incorrect content #1241

@grgzhng

Description

@grgzhng

Around 30 minutes ago, we started running into the following issue while transpiling code retrieved from ESM:

npm-modules:https://esm.sh/react-is@^19.2.0?target=es2022:3:30: ERROR: Unterminated string literal

Going to https://esm.sh/react-is@^19.2.0?target=es2022:3:30 on the browser and hitting it via curl seems to show properly formatted content:

/* esm.sh - [email protected] */
export * from "/[email protected]/es2022/react-is.mjs";
export { default } from "/[email protected]/es2022/react-is.mjs";

From searching prior issues, it seems like there's some related ones like #1142 that have been resolved via a purged cache. Could something like that be occurring here?

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions