Indrek Ardel
fd1e060592
Use inline source maps for coffeescript
2016-09-30 15:03:04 +03:00
Friedrich von Never
b19db0f0c0
Fix coffeescript source maps.
...
The file paths on Windows should be URLs with proper slashes and starting with file:///
2015-10-12 21:22:34 +06:00
Max Brunsfeld
a4b9b9c6cd
👕 Use standard style for js code
2015-08-21 16:56:32 -07:00
Max Brunsfeld
a18b7e2fa9
Don't make prepareStackTrace unwritable
...
This breaks other code (such as Grim) that may want to temporarily
use a different prepareStackTrace function.
2015-08-21 14:57:39 -07:00
Max Brunsfeld
f8397661d1
Defer coffee-script require, prevent it from reassigning prepareStackTrace
2015-08-21 13:48:56 -07:00
Max Brunsfeld
8c5eed28d2
Don't use es6 features in compile-cache
...
APM requires it directly, and it uses an older version of node
2015-08-21 10:31:29 -07:00
Nathan Sobo
6f44fc4c7f
Generate sourceFiles in CoffeeScript source maps correctly
2015-08-20 16:08:25 -06:00
Max Brunsfeld
49e37f5410
Use source-map-support to handle stack trace conversion
...
Previously, our Error.convertStackTrace function was provided by coffeestack,
which only works for coffee-script. This adds a dependency on 'source-map-support',
which works for any source file with inline source maps.
This also refactors the code for registering our compilers (coffee-script,
typescript, and babel) so that caching logic is shared.
2015-08-19 17:55:29 -07:00