Closed galsch closed 8 years ago
Per our offline discussion, I'm re-assigning this to @jthoms1.
Hello all, this should be fixed with the latest version of the Ionic cli. To install the latest version of the ionic cli simply run sudo npm install -g ionic@beta
. Thanks for using Ionic!
Hi jgw96.
I have sudo npm install -g ionic@beta
however still in Chrome Sourceampping works and in Safari we still have problm.
Attaching screenshot of Safari after the updating to the latest version of Ionic CLI:
Pay attention to the console errors. In addition we don't see the TypeScript files as I saw in Chrome.
Hello @galsch would you mind giving this another try with a fresh starter app? Thanks!
@jgw96 seems like the source mapping finally works - nice job.
What was the problem and how did you make it finally work in Safari?
Also, do you have support for Webpack (I see that you're using Gulp)?
Thanks!
@galsch I am actually not sure of the exact problem as I was not the one that fixed it, but if i remember right it was related to just making sure the .map
files were in the proper place for safari to be able to pick them up. Also, right now we are using Browserify, but we are currently hard at work on a brand new build process that will be using Webpack 2 and will include tree shaking, minification, offline template compilation and more so that the average Ionic 2 app bundle will be tiny and get to first render extremely fast. Thanks for using Ionic!
@jgw96 I'm looking forward the transition to Webpack 2.
Good luck & Great job.
Thanks
@galsch Thanks, I am too haha! 😃
Hi,
I'm using the sample Ionic 2 app from (http://ionicframework.com/docs/v2/getting-started/installation/)
Following the instruction I was able to run the app. However, I'm unable to debug the app in Safari with source maps. In Chrome it works perfectly. I'm using OS X with Safari 9.
Adding screenshots of Chrome and Safari.
In Chrome we can see source maps files:
In safari we don't se source maps files only the bundled files:
Can we debug ionic apps with source maps in Safari or we must use Chrome? In my iOS Apps I must debug with Safari, so it's really important to have this ability.
Thanks