scalableminds / amd-optimize

An AMD (RequireJS) optimizer that's stream-friendly. Made for gulp.
MIT License
162 stars 29 forks source link

Handle cyclic dependencies #12

Open normanrz opened 10 years ago

normanrz commented 10 years ago

Not exactly sure what the correct way to handle cyclic dependencies. Maybe, just detect them and throw an error. Or work with them when exports is used. http://requirejs.org/docs/api.html#circular