We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to specify source root for generated source maps?
my grunt task looks like this:
typescript: { base: { src:'<%= yeoman.app %>/**/{,*/}*.ts' dest: '.tmp/scripts/<%= typescript.base.options.target %>', options: { verbose:true, module: 'commonjs', //or commonjs target: 'es5', //or es3 sourceMap: true, keepDirectoryHierarchy: true, references: './typings/tsd.d.ts' } } }
the problem i have is it generates the sourcemap with the wrong 'path' to the ts file
for instance my map file has this:
{"version":3,"file":"asideMenuCtrl.js","sourceRoot":"","sources":["../../../../../../app/components/asideMenu/asideMenuCtrl.ts"]
yet what it needs is this
{"version":3,"file":"asideMenuCtrl.js","sourceRoot":"","sources":["/components/asideMenu/asideMenuCtrl.ts"]
as the app folder is the site root. is there some way to set this so it knows as i have tried many things but nothing seams to work right...
app
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is there a way to specify source root for generated source maps?
my grunt task looks like this:
the problem i have is it generates the sourcemap with the wrong 'path' to the ts file
for instance my map file has this:
yet what it needs is this
as the
app
folder is the site root. is there some way to set this so it knows as i have tried many things but nothing seams to work right...The text was updated successfully, but these errors were encountered: