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

Source map is not generated #186

Open
Kcko opened this issue Feb 25, 2015 · 3 comments
Open

Source map is not generated #186

Kcko opened this issue Feb 25, 2015 · 3 comments

Comments

@Kcko
Copy link

Kcko commented Feb 25, 2015

CSS min not generating source map if i set sourceMap: true.
output.min.css is OK.

Is it a bug or something wrong on my side?

My code:

    cssmin: {
        options: {
            sourceMap: true
        },
        front: {
            files: {
              'css/output.min.css': ['css/core.css', 'css/colorbox.css', 'css/jquery.autocomplete.css']
            }
        }
    },
@shinnn
Copy link

shinnn commented Apr 23, 2015

What version of grunt-contrib-cssmin are you using?

@prashantkoshta
Copy link

prashantkoshta commented Aug 18, 2016

I am also facing same issue. I am using this version -"grunt-contrib-cssmin": "^1.0.1",

Grunt version is
$ grunt --version
grunt-cli v1.2.0
grunt v1.0.1

@rizkysyazuli
Copy link

got a similar problem. i see the original file name and line number are shown in the Chrome console's "elements" tab. but when i click on it, i see a blank file in the "source" tab. In Firefox and Safari i get a The configuration file does not exist. message.

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

4 participants