3 ms·
We'll definitely be open-sourcing Cinco in the coming months. There are a couple of reasons we went with the Stitch approach. For one, we found the CommonJS mo
by sstephenson 16y ago
We'll definitely be open-sourcing Cinco in the coming months.
There are a couple of reasons we went with the Stitch approach. For one, we found the CommonJS module system (as implemented by Node.js) to be an elegant way to declare dependencies and share state between closures.
Second, our test suite runs headlessly in Node.js. By using Node's require system, we're able to get useful information and correct filenames in backtraces during development.