Skip to content

Commit

Permalink
Re-adding circular dependency check.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDuckworth committed Nov 19, 2024
1 parent 92c651f commit cc3146c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/firestore/rollup.shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@ exports.resolveNodeExterns = function (id) {

/** Breaks the build if there is a circular dependency. */
exports.onwarn = function (warning, defaultWarn) {
// TODO(pipeline) re-enable and fix circular dependencies after the pipeline exploration phase
// if (warning.code === 'CIRCULAR_DEPENDENCY') {
// console.log(JSON.stringify(warning));
// throw new Error(warning);
// }
if (warning.code === 'CIRCULAR_DEPENDENCY') {
throw new Error(warning);
}
defaultWarn(warning);
};

Expand Down

0 comments on commit cc3146c

Please sign in to comment.