Questions tagged [gulp-sourcemaps]

gulp-sourcemaps is a gulp plugin that adds support for source maps.

gulp-sourcemaps is a gulp plugin that adds support for source maps. The plugin allows to write both inline source maps and external source map files, to load existing source maps, to handle source maps from different directories. It is possible to use other plugins in the pipeline between calls to init and write functions of gulp-sourcemaps, but these other plugins need to have support for gulp-sourcemaps. The list of gulp plugins that support gulp-sourcemaps: https://github.com/floridoo/gulp-sourcemaps/wiki/Plugins-with-gulp-sourcemaps-support.

168 questions
0
votes
1 answer

Firefox Developer debug variables marked as undefined when using sourcemaps

I've created some sourcemaps for my minified javascript files uing Gulp, gulp-sourcemaps, Babel and uglify: gulp.task('babel-transpile', ['clean-js'], function () { return gulp.src([ 'wwwroot/js/**/*.js', …
zola25
  • 1,774
  • 6
  • 24
  • 44
0
votes
0 answers

sass gulp sourcemaps not generated

I'm proxying a website through browsersync and injecting the css/js, that way I can use zurb foundation and sass on a hosted environment, where I don't have access to the HTML files/SSH, since it's all build in an browserbased editor. So I have to…
Some one else
  • 325
  • 1
  • 3
  • 17
0
votes
1 answer

Laravel mix not producing version files in manifest

I'm working on Laravel and Vuejs project. In this project when I run command npm run watch, it's not generating version file in manifest. How can I solve the issue? My development environment is: Laravel 5.6.* Laravel-mix: "^4.1.4" Node…
leaveme_alone
  • 576
  • 2
  • 5
  • 24
0
votes
1 answer

Transition from gulp to npm

I am trying to move away from gulp and use npm scripts. We have developers that use different versions of node/gulp and the dependence on plugins and deprecation's has been an unwanted hassle. I am trying to convert our gulp script to npm but there…
Stacker
  • 137
  • 3
  • 12
0
votes
1 answer

I can't get gulp to produce a scouce map

I am trying to run a simple Gulp task to output css and create a source map. The conversion to css is working fine, but when I open the developer console the css is still showing as coming from style.css and not the .scss files as I would expect. I…
Dan
  • 3
  • 3
0
votes
0 answers

Inline sourcemaps generated by gulp-sourcemaps not working in VS-code debugger

I am trying to generate source-maps with a gulp task. I'm transpiling my code with Babel, and I would like to be able to use the debugger from VS Code. I don't know a lot about source-maps, and my way of determining if they are valid or not is to…
h-Reser
  • 177
  • 2
  • 11
0
votes
1 answer

Gulp + Sourcemaps + PostCSS(Autoprefixer + Minification via CSSnano)

Basically, I want sourcemaps available to my unminified and minifies flavors of my site.css file. I'd like my end result to be: site.css site.min.css site.css.map site.css.min.map Currently, I only get: site.css site.min.css…
0
votes
2 answers

Gulp uglify, rename and sourcemaps

I'm trying to do the following in Gulp: 1) Minify JS files from a specified folder to a folder called 'dist'. 2) Append '.min' to the minified filenames. 3) Provide a sourcemap to the minified files and place them in a folder called 'maps'. I am…
Tim
  • 881
  • 8
  • 19
0
votes
1 answer

Gulp-Sourcemaps: Chrome DevTools incorrectly references source of compiled js

Example case: I have 3 javascript files (Act.js, Body.js, SpriteSheets.js) that are being compiled together with gulp 4.0 and source mapped with gulp-sourcemaps 2.6.4. An error is thrown on line 43 of Body.js, but the console says line 194 of…
Adzo13
  • 114
  • 1
  • 8
0
votes
1 answer

Gulp sourcemaps module not creating file, no errors

I am working on a gulp workflow, and have just piped gulp-sourcemaps to my pipeline. However it id not creating a sourmapfile as it should. I freely admint that the i am confused by the folder destination parameter. I would like the sourcemap to be…
Frederick M. Rogers
  • 841
  • 4
  • 14
  • 37
0
votes
2 answers

Watch all files with gulp?

Currently i have folder stucture like below. css scss _icon.scss _admin.scss main.scss personal.scss modules directives map map.html map.scss map.js I have gulp sass with following gulp.task("sass", function() { return…
Mr.Pandya
  • 1,899
  • 1
  • 13
  • 24
0
votes
1 answer

Gulp not creating js sourcemaps file

for some reason gulp not creating source maps file for concated and uglified js. I tried different options and setups but with no luck. I was working at one moment but than it stop working. Not sure why. Here is the gulp task: 'use strict'; var…
youngster
  • 195
  • 1
  • 12
0
votes
1 answer

Gulp: Not targeting .service.ts files

I'm having a problem that when i run my task runner for my gulpfile, it targets all my .ts file correctly apart from resource.service.ts which seems to missed. Below shows the files accepted and targeted by the gulp…
0
votes
0 answers

Getting Source Maps to work with Gulp

Any help getting sourcemaps working with Gulp? This is my first project using Gulp and SASS together that I've setup and I'm find it impossible to debug with Developer tools with the minified css. var gulp = require('gulp'); var sass =…
Stephen Selvey
  • 353
  • 2
  • 3
  • 11
0
votes
1 answer

Error when extending an angular framework class RouteReuseStrategy

There are two aspects of my question. The error to solve is, when I use custom route reuse strategy the strategy does not get triggerred when I use implements to override angular router class RouteReuseStrategy and when I use extends keyword I get…
Rajesh
  • 69
  • 1
  • 9