coffeecup icon indicating copy to clipboard operation
coffeecup copied to clipboard

Does not work with require.js + node.js

Open c9s opened this issue 11 years ago • 0 comments

When using require.js + node.js to combine scripts:

The below code in the coffeecup.js does not load the compiler.js file, the below code only works for the coffeecup executable...

  coffeecup = exports;
  coffee = require('coffee-script');
  compiler = require(__dirname + '/compiler');
  compiler.setup(coffeecup);
  fs = require('fs');

c9s avatar Aug 31 '13 11:08 c9s