-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Circular dependencies are valid in cjs, but create all kinds of issues when converted to es6. I'm not familiar with the Cheerio code, but wanted to open this issue to see how feasible it may be to factor out Cheerio's circular dependencies.
Rollup output (slightly re-formatted)
Circular dependency: node_modules/cheerio/lib/cheerio.js ->
node_modules/cheerio/lib/api/attributes.js ->
node_modules/cheerio/lib/static.js ->
node_modules/cheerio/lib/cheerio.js
Circular dependency: node_modules/cheerio/lib/cheerio.js ->
node_modules/cheerio/lib/api/attributes.js ->
node_modules/cheerio/lib/static.js ->
commonjs-proxy-/Users/jonathan/my-package/node_modules/cheerio/lib/cheerio.js ->
node_modules/cheerio/lib/cheerio.js
scottdickerson, gaui, tobiasmuehl and tvanc
Metadata
Metadata
Assignees
Labels
No labels