Skip to content

Instantly share code, notes, and snippets.

@dgieselaar
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgieselaar/cc845fc3b7c54e6d50de to your computer and use it in GitHub Desktop.
Save dgieselaar/cc845fc3b7c54e6d50de to your computer and use it in GitHub Desktop.
I'm using webpack to compile my application source. It splits up the files in chunks which are lazily loaded when necessary. However, the sourcemaps for the first file (main.js) breaks if the second file (2.js) is loaded in.
Here's when it _does_ work.
- if I throw an error in main.js immediately instead of with a timeout
- if 2.js is not lazily-loaded but available in a script tag when the page is rendered
Here's what I've tried to make it work
- remove the sourcemap for 2.js
- remove the content of 2.js
They work in IE11 (with pause on exceptions enabled).
Not sure where to start. Is there any way I can get debugging information for source maps?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment