Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceMap referes to wrong files and lines #216

Closed
dawidk92 opened this issue May 13, 2015 · 1 comment
Closed

SourceMap referes to wrong files and lines #216

dawidk92 opened this issue May 13, 2015 · 1 comment

Comments

@dawidk92
Copy link

Im generating SourceMap by grunt-sass (1.0.0) and Im including foundation (5.5.2) into it

sass: {
    options: {
        includePaths: [
            'bower_components/foundation/scss'
        ],
        sourceMap: true
    },
    dist: {
        files: { '<%= dir.css %>/main.css': '<%= dir.sass %>/app.scss' }
    }
}

It works fine but when Im using cssmin (0.12.3) SourceMap breaks and doesnt work properly anymore

cssmin: {
    combine: {
        options: {
            keepSpecialComments: 0,
            sourceMap: true
        },
        files: {
            '<%= dir.css %>/main.css': ['<%= dir.css %>/main.css']
        }
    }
}
@XhmikosR
Copy link
Member

Duplicate of #204 #248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants