You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
produces a bundle with source maps that make Chrome Dev Tools display files with .coffee extensions, but compiled JS content, whit source maps string at the bottom:
It might be related to change in lexer and parser announced in the changelog for v. 1.11.0:
Improved the internal representation of a CoffeeScript program. This is only noticeable to tools that use CoffeeScript.tokens or CoffeeScript.nodes. Such tools need to update to take account for changed or added tokens and nodes.
I don't think it's a bug in CS, as the source maps are generated correctly if I do it like that:
When using with coffee-script 1.11.0 or 1.11.1 (latest at the time of reporting) this command:
produces a bundle with source maps that make Chrome Dev Tools display files with
.coffee
extensions, but compiled JS content, whit source maps string at the bottom:It might be related to change in lexer and parser announced in the changelog for v. 1.11.0:
I don't think it's a bug in CS, as the source maps are generated correctly if I do it like that:
The text was updated successfully, but these errors were encountered: