Skip to content

Circular imports transforms <-> Uint8ArrayBlobAdapter #1744

@major-major-major-major

Description

Some bundlers (rollup in my case) mark the circular dependency in your package as an error:

This can be silenced by adding it to knownCircularDependencies in the Rollup configuration, but that isn't too pretty and needs to be done for every version.

Is this something that could be resolved?
Maybe by adding the mutate function as a third parameter to transformFromString?
Or by moving the two functions in transforms.ts to Uint8ArrayBlobAdapter.ts, not exporting them?

Thanks!

Metadata

Metadata

Assignees

Labels

closing-soonThis issue will automatically close in 2 days unless further comments are made.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions