faker icon indicating copy to clipboard operation
faker copied to clipboard

Try to eliminate circular dependencies in modules

Open ST-DDT opened this issue 3 years ago • 1 comments

Clear and concise description of the problem

There might be circular dependencies in our modules that would impede our attempts to improve tree shaking capabilities.

Suggested solution

  • Write a repeatable script that fetches the inter module dependencies and generates a visual graph.
  • Try to eliminate circular dependencies between modules

Alternative

No response

Additional context

No response

ST-DDT avatar Sep 06 '22 20:09 ST-DDT

See also #1346

ST-DDT avatar Sep 06 '22 20:09 ST-DDT

The/A separate script should also run on the locale definitions.

Ref: https://github.com/faker-js/faker/discussions/1585

ST-DDT avatar Nov 21 '22 10:11 ST-DDT

This should be obsolete in v9 anyway.

ST-DDT avatar Oct 10 '23 16:10 ST-DDT