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

Issue generating source maps #51

Closed
ghost opened this issue May 9, 2016 · 1 comment
Closed

Issue generating source maps #51

ghost opened this issue May 9, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented May 9, 2016

If I leave sourceMaps enabled in lessOptions, I end up with an error like this:

Invalid mapping: {"generated":{"line":4391,"column":2},"source":"../bittitan-css/lib/bootstrap/3.3.5/type.less","original":{"line":1,"column":null},"name":null}

When I narrow down the issue, it seems that it breaks when I have a media query nested inside a selector. Example:

.my-selector {
    @media (max-width: @screen-sm) {
        // styles
    }
}

So, I could either refactor any instances of nested media queries or set sourceMap to equal false.

@knownasilya
Copy link
Collaborator

Duplicate of #50

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

1 participant