Today I learned that it is possible to include source maps directly into your minified JavaScript file instead of having them in a separate example.min.map file. I wonder: why would anybody want to do something like that?
The benefit of having source maps is clear to me: one can for example debug errors with the original, non-compressed source fil
it1352
1
2019-06-25
Do you know of a workflow that includes source maps for an app compiled with grunt?
I am well aware of plugins like uglifyjs that allow you to simply generate a source map. But I'm looking for incorporating this into a more complex workflow, rather than just making a one-off source map.
I've noticed that the most popular Yeoman generators (that I
it1352
4
2019-05-19
For debugging purposes I would like to see the corresponding Ruby Source position in the javascript file generated by Opal.
Is there a simple way to achive this? I tried
# config.ru
require 'bundler'
Bundler.require
run Opal::Server.new { |s|
s.append_path 'public'
s.append_path 'src'
s.debug = true
s.source_map = true
s.main = 'appl
it1352
2
2020-07-24
GWT supports source maps in super dev mode. Unfortunately, they seem not to work in production mode, despite the fact that I added source maps option to my *.gwt.xml file.
How to enable them there?
Solution Have a look at how this is done for GWT's own website: https://gwt.googlesource.com/gwt-site-webapp/ /master/src/main/java/com/google/gwt/si
it1352
1
2019-05-19
I'm trying to write a gulp task allowing me to use modules in JS (CommonJS is fine), using browserify 6to5. I also want source mapping to work.
So:
1. I write modules using ES6 syntax.
2. 6to5 transpiles these modules into CommonJS (or other) syntax.
3. Browserify bundles the modules.
4. Source maps refers back to the original ES6 files.
it1352
1
2019-05-19
As the title says, I'm attempting to run SuperDev mode using the latest version of GWT (2.6.1) in Chrome.
My application is being served by a Tomcat server. I have the SuperDev mode server running (via IntelliJ), which compiles and links the sources successfully, and source maps are enabled in Chrome. I go to the application (http://localhost:808
it1352
0
2019-05-19
According to this issue https://github.com/rails/sass-rails/pull/192 sass-rails hasn't support for Sass 3.3 yet.
But it seems that sass-rails-source-maps has been depending on Sass 3.3 since the very beginning. So is there a way to use this gem with sass-rails?
According to the readme with sass-rails-source-maps, Chrome dropped support of the Sou
it1352
0
2020-11-17
I'm using UglifyJS to minify and uglify my sources, and Sentry to report errors from my production environment.
In order to get errors from Sentry, in a readable manner, I need to add source-map
Is it safe to do it in production servers, or the source-maps files should only exist on staging environment?
Is there a way to secure them on productio
it1352
1
2019-05-22
I have set up a gulpfile.js in my project. It's working pretty nicely mostly, except when it comes to generating source maps, especially for the LESS files it compiles to CSS.
I have put together a gist which contains all the files in my gulp setup. Please note that other than the gulp file.js itself, all the other files are inside a directory cal
it1352
2
2019-05-14
I am building a web application with AngularJS en typescript in VS2012. These TypeScript files are all compiled into JavaScript files and send to the client using Bundles (all options turned off, thus I'm sending all files individually).
In Firebug HTML view I can see all my JavaScript files, but in the scripts tab, only my TypeScript files are
it1352
0
2020-11-08