-
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the issue has not already been raised
Issue
pnpm helps in detecting circular dependencies. This is what it found.
node_modules/.pnpm/@fastify+fast-json-stringify-compiler@5.0.2/node_modules/@fastify/fast-json-stringify-compiler/index.js -> node_modules/.pnpm/@fastify+fast-json-stringify-compiler@5.0.2/node_modules/@fastify/fast-json-stringify-compiler/standalone.js -> node_modules/.pnpm/@fastify+fast-json-stringify-compiler@5.0.2/node_modules/@fastify/fast-json-stringify-compiler/index.js
Both files depending on each other; index.js requires standalone.js and vice versa. This can be fixed by moving the functions from the index.js to the standalone.js. Then require in one direction only.
Metadata
Metadata
Assignees
Labels
No labels