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 external sourcemaps #15

Open
dschulten opened this issue Feb 25, 2018 · 0 comments
Open

Support external sourcemaps #15

dschulten opened this issue Feb 25, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@dschulten
Copy link
Contributor

Debugging the Svelte unit test is difficult because external sourcemaps seem not to be recognized or Cypress does not serve them to the browser.

Workaround: use internal sourcemap using webpack devtool option cheap-module-eval-source-map

Conceptually it seems external map files cannot be served easily, the app sources are requested with a single request like http://localhost:57301/__cypress/tests?p=cypress\integration\spec.js-619 and if that javascript points to a relative sourcemap URL at spec.map.js, the sourcemap apparently cannot be found.

This might be a cypress issue, but only for unit-test helpers like this one. Hence I add this issue here.

@dschulten dschulten changed the title Support sourcemaps Support external sourcemaps Feb 25, 2018
@bahmutov bahmutov added the enhancement New feature or request label Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants