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 is not working #3

Closed
jaydson opened this issue Oct 9, 2014 · 3 comments
Closed

sourceMap is not working #3

jaydson opened this issue Oct 9, 2014 · 3 comments

Comments

@jaydson
Copy link

jaydson commented Oct 9, 2014

Setting sourceMap equals true generate a file .js.map, but its contents have just "[object Object]".
I'm not pretty sure if it is an error on 6to5 or in my configuration or in grunt-6to5.

My Gruntfile looks like this:

 grunt.initConfig({
        '6to5': {
            options: {
                sourceMap: true
            },
            dist: {
                files: {
                    'dist/app.js': 'src/classes.js'
                }
            }
        }
    });
@jaydson
Copy link
Author

jaydson commented Oct 9, 2014

I think this is an issue on e6to5:
babel/babel#1

es128 added a commit to es128/grunt-6to5 that referenced this issue Oct 9, 2014
@es128
Copy link
Member

es128 commented Oct 9, 2014

@jaydson My PR fixes this against the latest 6to5. You can install it for now with npm install es128/grunt-6to5#patch-1

@sindresorhus
Copy link
Member

Fixed by #4. Available in 1.0.1.

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

Successfully merging a pull request may close this issue.

3 participants