electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Fixes #149 by adding a 30-pass limit to recursion... #276

Open crdrost opened 6 years ago

crdrost commented 6 years ago

... and stopping immediately on loops.

In order to support passthrough, on loops we still return whatever the dependent file was, even though we "cannot use it". Anything else would make the term "passthrough" very strange for what we're doing there. But this might not be a sane default for other compilers which get stuck in self-reference loops.

crdrost commented 6 years ago

Better?