Skip to content

Rollup reports circular dependency import between one.js and all.js files #3

Closed
@jedrzejchalubek

Description

@jedrzejchalubek

Initial checklist

Affected packages and versions

3.0.1

Link to runnable example

No response

Steps to reproduce

Bundling package using rollup.js gives this message:

Circular dependency: ../../node_modules/xast-util-to-xml/lib/one.js -> ../../node_modules/xast-util-to-xml/lib/all.js -> ../../node_modules/xast-util-to-xml/lib/one.js

The bundle

Expected behavior

The one.js and all.js files should not import each other

Actual behavior

The one.js and all.js import each other causing circular dependency

Affected runtime and version

node@19

Affected package manager and version

No response

Affected OS and version

No response

Build and bundle tools

Rollup

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