Skip to content

Commit b0ef7a9

Browse files
authored
chore(build): throw error on CJS rollup circular dependency
1 parent 24b98bb commit b0ef7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/compilation/Inliner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ module.exports = class Inliner {
187187
For that reason let's avoid them.
188188
*/
189189
if (warning.code === "CIRCULAR_DEPENDENCY") {
190-
// throw Error(warning.message);
190+
throw Error(warning.message);
191191
}
192192
},
193193
external: (id) => {

0 commit comments

Comments
 (0)