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

how to get source maps? #12

Closed
ryanflorence opened this issue Jun 23, 2014 · 5 comments
Closed

how to get source maps? #12

ryanflorence opened this issue Jun 23, 2014 · 5 comments

Comments

@ryanflorence
Copy link

I can't figure out how to get source maps in my tests, any advice?

@sokra
Copy link
Contributor

sokra commented Jun 23, 2014

http://webpack.github.io/docs/configuration.html#devtool
try inline-source-map or eval-source-map

@ryanflorence
Copy link
Author

Thanks. I know how to do it via the command line, but I can't get it to work in the config file, here are my attempts: https://github.com/rpflorence/react-nested-router/blob/route-component/karma.conf.js#L20-L24

@sokra
Copy link
Contributor

sokra commented Jun 23, 2014

{
  // ...
  devtool: "inline-source-map"
  // ...
}

@mjackson
Copy link

@sokra Our latest attempt is in remix-run/react-router#626, but still having a few issues with karma-webpack which are described in that thread. I'm digging around in karma-webpack and memory-fs. Any insight you could provide would be invaluable. :)

@mjackson
Copy link

@sokra @rpflorence Please feel free to close this. I figured it out ;)

claudiopro pushed a commit to claudiopro/karma-webpack that referenced this issue Sep 8, 2015
Cross-browser testing w/ Sauce Labs
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

3 participants