Skip to content

importing rollup from esm.sh doesn't work #5375

@phaux

Description

@phaux

Rollup Version

4.9.6

Operating System (or Browser)

all

Node Version (if applicable)

deno 1.40.3

Link To Reproduction

just run deno eval 'import "https://esm.sh/rollup"'

Expected Behaviour

Docs say you can import rollup from esm.sh:

import {rollup} from "https://esm.sh/rollup@2.61.1";

Actual Behaviour

Version from the docs works but the latest version fails to build at esm.sh and others:

https://esm.sh/rollup@4.9.6 (error at https://esm.sh/v135/rollup@4.9.6/es2022/dist/native.js)
https://esm.run/rollup@4.9.6
https://cdn.skypack.dev/rollup@4.9.6

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