You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
I love generator-m-ionic so much! Thank you guys for this amazing workflow tooling.
I have been trying to generate sourcemaps for Sentry like this:
if (options.minify) {
stream
.pipe(jsFilter)
.pipe($.ngAnnotate({
add: true,
sourcemap: true
}))
.pipe(stripDebug()) .pipe(sourcemaps.init())
.pipe($.uglify()) .pipe(sourcemaps.write('./map'))
.pipe(jsFilter.restore)
.pipe(cssFilter)
.pipe($.csso())
.pipe(cssFilter.restore);
}
However, I can't find anywhere the generated map file although the url gets appended to the app.js.
If I do it incline, then it works: .pipe(sourcemaps.write())
Can you please give me some hint how can I achieve my goal? many thanks
-lola
The text was updated successfully, but these errors were encountered:
I love generator-m-ionic so much! Thank you guys for this amazing workflow tooling.
I have been trying to generate sourcemaps for Sentry like this:
if (options.minify) {
stream
.pipe(jsFilter)
.pipe($.ngAnnotate({
add: true,
sourcemap: true
}))
.pipe(stripDebug())
.pipe(sourcemaps.init())
.pipe($.uglify())
.pipe(sourcemaps.write('./map'))
.pipe(jsFilter.restore)
.pipe(cssFilter)
.pipe($.csso())
.pipe(cssFilter.restore);
}
However, I can't find anywhere the generated map file although the url gets appended to the app.js.
If I do it incline, then it works:
.pipe(sourcemaps.write())
Can you please give me some hint how can I achieve my goal? many thanks
-lola
The text was updated successfully, but these errors were encountered: