3 ms·
No. coffee --compile --map file.coffee Should produce a "file.js" and a "file.map".
by jashkenas 14y ago
No.
coffee --compile --map file.coffee
Should produce a "file.js" and a "file.map".
- __david__ 14y agoHmmm: $ coffee --version CoffeeScript version 1.6.1 $ coffee --compile static/test.coffee $ coffee --compile --map static/test.coffee TypeError: In static/test.coffee, Cannot call method 'indexOf' of undefined at Object.count (~/.npm/lib/node_modules/coffee-script/lib/coffee-script/helpers.js:33:29) at Object.compile (~/.npm/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:72:30) at ~/.npm/lib/node_modules/coffee-script/lib/coffee-script/command.js:171:33 at ~/.npm/lib/node_modules/coffee-script/lib/coffee-script/command.js:141:18 at [object Object].<anonymous> (fs.js:123:5) at [object Object].emit (events.js:64:17) at Object.oncomplete (fs.js:1181:12) (Paths were full path names, I replaced my $HOME with ~ in the output for clarity and some security through obscurity)