gulp-sourcemaps Questions
7
Solved
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...
Pedagogue asked 27/12, 2014 at 20:56
5
Solved
This happened randomly as I was updating my CSS file and then refreshing to notice no changes were being shown. I eventually noticed that Task Runner Explorer window had "failed to load" under my G...
Lemmy asked 16/10, 2016 at 23:9
5
I have a Angular2/typescript app I am developing in VSCode. I use Gulp to build the typescript files and gulp-sourcemap to create map files. Attaching/launching chrome works well after some tinkeri...
Implicit asked 22/4, 2016 at 13:31
2
Solved
JavaScripts source maps seem to typically be at no finer than token granularity.
As an example, identity-map uses token granularity.
I know I've seen other examples, but can't remember where.
Why...
Fanniefannin asked 28/8, 2019 at 10:17
3
This weekend I started playing around with gulp. I wanted to set up a task which can
compile my sass files
keep working if I make mistakes in the sass file
work with sass Bootstrap
generate sou...
Audiophile asked 5/10, 2014 at 13:39
1
Chrome isn't loading our source maps for scripts included inline in our HTML:
<script type="text/javascript">!function t(n,e,r){ /* more code */}()
//# sourceMappingURL=public/js/edit-before...
Cringe asked 20/3, 2017 at 20:28
4
Solved
I have a typescript file users.ts in a sub-directory routes.
The gulp code in gulpfile.js:
var tsProject = ts.createProject(tsConfigFile);
return tsProject.src()
.pipe(sourcemaps.init())
.pipe(...
Cataclysm asked 11/12, 2015 at 7:38
1
In my current workflow I need to create browserify bundles, but also wish to concat non-commonjs js libraries to the beginning of the file to expose global variables but also reduce the number of h...
Baggage asked 4/1, 2016 at 15:13
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...
Tattler asked 18/5, 2016 at 22:12
1
Im trying to merge all my styles(css, scss) files into one file and compile.
The reason is because there is files that based on variables in another file, but now i cant create a sourcemap.
What a...
Excitement asked 26/4, 2017 at 10:48
1
Solved
I use source map for js files both on production and dev server, so I just load it from the local store. In this case, I use next string at the end of files //# sourceMappingURL=file:////var/www/st...
Hakim asked 20/4, 2017 at 17:25
1
Solved
I am struggling to get my SASS sourcemaps to work correctly. The problem seems to be the "sources" attribute within the sourcemap and how my SASS files are nested.
I have a Gulp task that compiles...
Vivien asked 2/12, 2016 at 17:17
1
Solved
Gulp / npm noobie here.
I'm trying to use gulp-sourcemaps, and for some reason, it crashes on var sourcemaps = require('sourcemaps').(It crash only when this line's in the file)
gulpfile:
var gu...
Bobker asked 24/10, 2016 at 14:4
3
Solved
I get an error while installing React-native, I have tried to search for an answer, but I can not find one.
When running "react-native init meet" I get this error:
This will walk you through cre...
Deth asked 13/10, 2016 at 21:1
1
Solved
I'm using gulp to build project, together with gulp-sourcemaps for generating sourcemaps.
I have several compnents like this:
public
|-- src
|-- comp1
| |-- c1-a.js
| |-- c1-b.js
|
|-- comp...
Warmongering asked 10/5, 2015 at 13:38
2
Solved
I'm new to gulp and have run into a problem which probably is a pretty common scenario. What I'm trying todo is compiling typescript into javascript, creating a sourcemap for it and then running ug...
Underdog asked 24/9, 2016 at 9:45
2
Solved
I'm trying to create a gulp task to compress and create a source map at the same time. The compression and source map creation works, but I can't seem how to figure out how to get the output names ...
Inning asked 20/12, 2015 at 1:32
1
Solved
I ran npm update today, and what followed is a disaster. I had trouble getting packages to install, but after everything appeared to be in the right place, I started up my gulp task that compiles m...
Anesthetic asked 29/11, 2015 at 19:50
1
Solved
I am currently writing a side project where I can learn more about TypeScript and ES6 (using babel).
I wanted to use ES6 with my TypeScript, so I settled on the following workflow.
Typescript (ES...
Portfire asked 20/11, 2015 at 2:9
1
Solved
I am using gulp.
I would like to having one or multiple JS files (say jQuery) to combine them in one, minify it, and write it to a distribution folder.
This is how I do it:
minifyJS(['/js/myM...
Garton asked 10/9, 2015 at 13:2
2
Solved
I have a fairly standard use case for gulp-sourcemaps
https://github.com/floridoo/gulp-sourcemaps
gulp.src( bundle.src)
.pipe(sourcemaps.init())
.pipe(concat(bundle.dst + '.' + opts.ext))
.p...
Kettle asked 30/9, 2014 at 0:15
1
Solved
I'm looking for a plugin chain to use with Gulp that provides:
source map support
less
minification
concatenation
URL replacement (rebase) to address relocation/concat
I currently have the firs...
Debase asked 19/5, 2015 at 22:17
1
I use the packages gulp-less and gulp-sourcemaps. My less file is located under Styles/main.less, but the generated source map points to source/main.less (where source/ seems to be a prefix). How t...
Ramonramona asked 23/11, 2014 at 20:52
1
Can someone explain how to uglify, then concat and finally generate a source map using gulp? I cannot seem to get it working. I am not seeing anything in the API's about this but seems to me that i...
Terti asked 12/11, 2014 at 11:0
1
I'm trying to do the following:
Combine all CSS files (jQuery plugins)
Combine media queries
Minify CSS
Write sourcemap
after that I try to do something else in a different folder
Translate L...
Braid asked 14/8, 2014 at 13:9
1 Next >
© 2022 - 2024 — McMap. All rights reserved.