Giter VIP home page Giter VIP logo

Comments (5)

appleboy avatar appleboy commented on May 31, 2024

Could you provide the detail debug info?

from gulp-compass.

humanaut avatar humanaut commented on May 31, 2024

I have the same issue.

Items that get ignored: style, debug, line comments (as far as I can see). The source map does NOT get generated.. which is good.

gulp.task('build', function() {
    gulp.src(['../sass/theme.scss','../sass/vendor/**/*.scss'])
    .pipe(compass({
        project: path.join(__dirname, '../'),
        style: 'compact',
        debug: false,
        line_comments: false,
        bundle_exec: true,
        sourcemap: false
    })).on('error', gutil.log)
    .pipe(gulp.dest('../css'));
});

When I run "gulp build"... my theme.css file looks like this..

/* line 5, ../../../../../../../.rvm/gems/ruby-2.0.0-p451/gems/compass-core-1.0.0.alpha.21/stylesheets/compass/reset/_utilities.scss */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }

/* line 22, ../../../../../../../.rvm/gems/ruby-2.0.0-p451/gems/compass-core-1.0.0.alpha.21/stylesheets/compass/reset/_utilities.scss */
html { line-height: 1; }

/* line 24, ../../../../../../../.rvm/gems/ruby-2.0.0-p451/gems/compass-core-1.0.0.alpha.21/stylesheets/compass/reset/_utilities.scss */
ol, ul { list-style: none; }

from gulp-compass.

jklegseth avatar jklegseth commented on May 31, 2024

@appleboy when you say "detail debug info" what do you mean--the CSS output? Mine looks like the snippet @humanaut provided. As far as I know Gulp doesn't have a verbose or debug mode.

from gulp-compass.

domialex avatar domialex commented on May 31, 2024

I have this problem, it also gets generated in the sourcemap file.

from gulp-compass.

appleboy avatar appleboy commented on May 31, 2024

@jklegseth @domialex Please set opts.comments as false

refer: https://github.com/appleboy/gulp-compass#comments

from gulp-compass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.