Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve circular dependency in pack.js
`lib/pack.js` and `lib/config/figgy-config.js` load each other, making `figgy-config.js` grab the original `module.exports` value and not the intended one. In particular, this always sets the `dirPacker` value to `undefined` in the config generation step. Fix this by setting `module.exports` early. Refs: nodejs/node#29935
- Loading branch information