source-maps Questions

2

Solved

I read this question source maps files in production - is it safe?. I want to generate source map files in different folders with source code. Is there any way to do this with webpack? I also read ...
Peder asked 27/3, 2017 at 16:52

1

Solved

On chrome I can add a custom source map url for my bundle.js. From the chrome sources panel, I can click on bundle.js then right-click inside the source window and I have the option add source map...
Draftsman asked 14/3, 2018 at 13:46

0

By default Webpack 4 is using UglifyJS for minifying the code. In the production I am getting an unusable error message point to the column of the compiled javascript file. The documentation https:...
Courtyard asked 25/3, 2018 at 15:3

1

we are shipping a Cordova WebApp for tablets with minified source using uglify2-compressor via grunt-contrib-requirejs. We generate source-maps for debugging which work flawlessly using the chrome ...
Purser asked 30/1, 2014 at 10:43

0

I have been struggling with this problem for more that one year. I have filed an issue here. I have tried to apply the solution description there and from countless suggestions all over internet (e...

1

I have created a gulp / typescript workflow that performs the following actions. gulp.watch(..) gulp-typescript gulp-uglify gulp-sourcemaps using the following.. var tsProject = ts.createProje...
Horologium asked 14/7, 2016 at 5:18

1

I'm building my app using webpack. I generate 3 bundles: app.js, vendor.js and manifest.js. Since I have added UglifyJsPlugin to my conf, 3 sourcemaps are also generated. I'd like to only generate...
Natala asked 3/3, 2017 at 14:5

5

Solved

I want to debug a node app that runs from babel compiled ES6 files. I have my ES6 source in an src folder and the babel ES5 equivalent in a build folder. Project root | | build | > ES5 Compiled...
Deductive asked 3/4, 2015 at 22:58

1

In the debugging window of the developer console - I can see all my javascript resources listed, but in of them it just says sourceMaps is null. The resources I'm trying to fetch are some minifie...
Towroy asked 11/10, 2017 at 3:18

2

Solved

I'm really struggling to get source map to work. When I run my app, I'm seeing an error in the console -- see below: When I click the fineUploaderTest-bundle.js:1 link, I get no code whatsoever -...
Sheepish asked 11/12, 2017 at 21:57

3

I'm trying to debug javascript application bundled with WebPack in WebStorm using source mapping. My current webpack.config.js looks like this: var path = require('path'); module.exports = { deb...
Gardener asked 7/9, 2015 at 20:54

3

Solved

I've been struggling with getting my source-maps working in my app for quite a while. I have set devtool: 'source-map', in the webpack configuration, but they are still not available in the Chr...
Intuition asked 13/11, 2017 at 15:38

2

Solved

I decided to try out WebPack on a new project I'm spinning up today and I'm getting really strange behavior from the sourcemaps. I can't find anything about it in the documentation, nor can I find ...
Revival asked 9/10, 2017 at 20:27

3

Solved

I have webpack configured to transpile scss -> css, but sourcemap generated by webpack does not resolve scss @imports. webpack.config.js: const path = require('path'); const ExtractTextPlugin = r...
Inland asked 3/10, 2017 at 16:58

1

Solved

I'm deploying my website - a static site built in GatsbyJS - and my sourcemaps are by far my largest files. I have 3 sourcemap files that are ~ 3MB. Overall they make up maybe 70% of my build. Sh...
Sacrum asked 4/10, 2017 at 16:33

1

I managed to compile my css and less resources („imported“ from javascript) to all-my-LESS|CSS, extract them using ExtractTextPlugin and merge them together with MergeFilesPlugin to combinedStyles....
Vercelli asked 20/9, 2017 at 12:32

6

Solved

I want to set up a config to generate sourcemaps. I'm running webpack serve from the command line, which compiles successfully. But I really need sourcemaps. This is my webpack.config.js. var webpa...
Marrufo asked 16/6, 2015 at 14:41

1

Solved

My deployed JavaScript application raises an exception. The Javascript code is obfuscated. I would like to know, which line in original source code raises an exception. Source maps are not deployed...

5

Solved

Recently I have seen files with the .js.map extension shipped with some JavaScript libraries (like Angular), and that just raised a few questions in my head: What is it for? Why do the guys at Ang...
Monarchist asked 12/2, 2014 at 5:38

1

Solved

I'm trying out some very basic Ionic tutorials from Ionic website (Ionic Tutorial), and i want to be able to view and modify scss from dev tools. The app functions correctly, css classes i've adde...
Positron asked 6/5, 2017 at 9:17

4

I'm loading a script from a file, and I'm using eval() to generate a Javascript code like this: var code = fs.readFileSync('myfile'); var shiftedCode= 'function(param) {' + code + '}\n'+ '//# sour...
Maloriemalory asked 5/7, 2017 at 13:21

2

Solved

I have project written in Typescript and I want to be able to debug it (either in Chrome Dev Tools or in Intellij). At first I saw that Typescript's import functionality was not supported. So I t...
Tiedeman asked 19/3, 2017 at 0:25

2

I'm setting up a Webpack build process for an existing project and have been running into some issues with source maps. I am using devtool: 'eval-source-map',. If an error happens in the browser, ...
Helton asked 12/6, 2017 at 21:26

1

Solved

Could you help me to understand why Ionic 2 doesn't generate scss source maps. After "ionic serve" I'm navigating to www/build folder, there is main.css.map but it contains null instead of generate...
Gamber asked 1/3, 2017 at 14:54

3

Solved

Using Typescript 1.8, Gulp 3.9.0, gulp-sourcemaps 1.6.0, and a tsconfig.json file. At one point a long time ago this was working fine. Of late (and I can't pinpoint when), neither Chrome nor Fire...

© 2022 - 2024 — McMap. All rights reserved.