Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for sourceRoot #46

Closed
flyon opened this issue May 20, 2015 · 2 comments
Closed

support for sourceRoot #46

flyon opened this issue May 20, 2015 · 2 comments

Comments

@flyon
Copy link

flyon commented May 20, 2015

I was using this before: tsc --sourceMap --sourceRoot "../src", which was working for me.

Now I'm using browserify + grunt + tsify with the following in Gruntfile.js:

preBundleCB: function (bundle) {
bundle.plugin('tsify', { target: 'ES5', module: 'commonjs', sourceMap:true,sourceRoot:'../src2' });
}

but I don't think 'sourceRoot' is doing anything?

@smrq
Copy link
Member

smrq commented May 22, 2015

I think this option was added with TS 1.5? Anyway, right now compiler options are whitelisted; I'm going to change them to be blacklisted instead. (Some options, like module, are set automatically.)

@smrq
Copy link
Member

smrq commented May 22, 2015

Equivalent to #50

@smrq smrq closed this as completed May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants