Closed yuri-karadzhov closed 10 years ago
What plugin is "minifyCSS" ?
minifyCSS is not used, it's for production minification so gulp-if just switch it off.
@tybruffy
@yuri-karadzhov Can you post the sourcemap file that gets written and run npm ls gulp-less
I will do it tomorrow when I have an access to it. I believe we have the last version of gulp-less (it's may be one week old) I'll check it out.
Ran into the same problem, version 1.3.0 with gulp-sourcemaps 0.4.1
gulp.src(context.less.base)
.pipe(sourcemaps.init())
.pipe(less({ compress: true }))
.pipe(rename({
suffix: '.min',
extname: '.css'
}))
.pipe(sourcemaps.write('.', {includeContent: false, sourceRoot: '../less/'}))
.pipe(gulp.dest(context.dest))
.on('error', gutil.log);
Tried changing the sourcemaps.write parameters to all possible options too.
Oh, and the written sourcemap:
{"version":3,"file":"base.min.css","names":[],"mappings":"","sources":["base.less"],"sourceRoot":"../less/"}
@hvdklauw - you do not include content so you have to serve it with static server, so it may be a problem.
@contra version of libs gulp-less@1.3.0 gulp-sourcemaps@0.4.1
{"version":3,"file":"styles.css","sources":["/home/yuri/Documents/glow_chalk/Programming/client/source/less/lib.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/overall.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/console.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/markup.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/ui.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/header.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/footer.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/horizontal-carousel.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/deck-stats.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/loading.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/hangar.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/battle.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/research.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/waiting.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/screens/deck-editor.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/battle-results.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/battle-card-inspector.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/deck-inspector.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/deck-rename.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/deck-editor-approve.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/store.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/research-card-view.less","/home/yuri/Documents/glow_chalk/Programming/client/source/less/popups/research-hq-set.less"],"names":[],"mappings":"AA8BA;EACC,oBAAA;EACA,qBAAA;EACA,sBAAA;EACA,wBAAA;EACA,yBAAA;EACA,iBAAA;;AAUD;EACC,cAAA;EACA,kBAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,YAAA;;AAGD;EACC,cAAA;EACA,SAAS,GAAT;EACA,YAAA;;AC3DD;EACC,YAAY,2CAAZ;EACA,6CAAA;;AAGD,MAAM;EACL,kBAAA;EACA,QAAA;EACA,SAAA;EACA,YAAA;;AAGD;AAAM;EACL,gBAAA;EACA,YAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;;AAGD;EACC,YAAA;EACA,uBAAA;EACA,gBAAA;;AAGD;EACC,sBAAA;EACA,yBAAA;EACA,iBAAA;;AAGD;EDcC,cAAA;EAEA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,YAAA;EClBA,eAAA;EACA,kBAAA;;AAHD,QAKC;EACE,WAAA;EACA,YAAA;EACA,UAAA;EACA,sCAAA;EACA,gBAAgB,+CAAhB;;AAGF,QAAC;EACA,eAAA;;AAIF;EDJC,cAAA;EACA,kBAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,YAAA;ECAA,eAAA;;AAGD;EACC,UAAA;EACA,kBAAA;EACA,YAAA;EACA,YAAA;E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ACA,SAAA;EACA,WAAA;EACA,aAAA;EACA,YAAA;;AA5FH,MAAM,cASL,iBAsFC;EA1FA,kBAAA;EACA,gBAAA;EA2FC,SAAA;EACA,WAAA;EACA,YAAA;EACA,WAAA;EACA,UAAA;EACA,gBAAgB,mCAAhB;EACA,4BAAA;;AACA,MAxGG,cASL,iBAsFC,WASE;EAAS,8BAAA;;AACV,MAzGG,cASL,iBAsFC,WAUE;EAAU,8BAAA;;AAzGd,MAAM,cASL,iBAmGC;EAvGA,kBAAA;EACA,gBAAA;EAwGC,UAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;;AAlHH,MAAM,cASL,iBAmGC,QAQC;EACC,kBAAA;EACA,gBAAA;EACA,WAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA","sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"sourceRoot":"/source/"}
That actually doesn't matter, no matter what I do the sources only contains the base less file an not the other @imported files from the less file.
Without the includeContent: false I get this map file:
{"version":3,"file":"base.min.css","names":[],"mappings":"","sources":["base.less"],"sourcesContent":["// Name: base.less\n// Description: Base LESS file for styling the Frontoffice\n//\n// ========================================================================\n\n\n// Access all LESS files from the core framework\n// ========================================================================\n\n@import \"../../uikit/less/uikit.less\";\n@import \"../../uikit/less/uikit-addons.less\";\n\n// Access all custom LESS files\n// ========================================================================\n\n@import \"imports/variables.less\";\n@import \"imports/functions.less\";\n@import \"imports/hooks.less\";\n@import \"imports/application.less\";\n@import \"imports/responsive.less\";\n"],"sourceRoot":"../less/"}
No mappings at all, so pointless
Ok, found the issue; if I remove the compress: true everything works as expected. Not sure if this is a issue with less or with gulp-less.
@hvdklauw I'm checking into it now, the regex we are using doesn't appear to be picking up source maps if they are on the same line as other code, which is how Less outputs them. I'm working to get that fixed. In my testing, leaving compress: true
on without setting any parameters will create two source maps in the output CSS file. You can delete the second one and everything will work, but we're working on getting that fixed so that the regex will find source maps on the same line as code. Alternately, you can edit gulp-less to use this version of the convert-source-map module, but I haven't finished testing this yet so YMMV.
@yuri-karadzhov This is related to what @floridoo is talking about in #65 with source map paths
@hvdklauw The newest version of gulp-sourcemaps
adds the sourcesContent
for missing files (e.g. @imported files) on sourcemaps.write()
. Together with the fix in gulp-less #65, it should work also without includeContent: false
now.
Published as 1.3.1
Chrome shows empty source in linked source file.