-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Running this from the command line I can pass the -m flag and it will produce a source map. e.g. cjsx -cm will produce both the .js file and the source map file.
However; running this in a node (in fact Jest) context I want to do:
const coffeereact = require('coffee-react');
var compiled = coffeereact.compile(src, {bare: true, map: true});
And have complied have both the compiled JS code and the source map. I want to do this so I can write the source map to the file system for later use.
At the moment putting the map: true option in this context seems to have no effect.
I'm not sure if this is possible? Or if not - perhaps this is a feature request?
Metadata
Metadata
Assignees
Labels
No labels