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

Add semicolons #804

Closed
wants to merge 1 commit into from
Closed

Add semicolons #804

wants to merge 1 commit into from

Conversation

jensenbox
Copy link

To allow certain minfiers to work properly.

To allow certain minfiers to work properly.
@benvinegar
Copy link
Contributor

benvinegar commented Dec 16, 2016

This isn't going to work. These are dist files generated from source every release, aka this would just be undone when we release a new version.

We'll need to either get a patch accepted upstream in json-stringify-safe (unlikely), or we need to modify the build process to semicolon-ify our dist files going forward.

@benvinegar benvinegar closed this Dec 16, 2016
@jensenbox
Copy link
Author

jensenbox commented Dec 16, 2016 via email

@mreq
Copy link

mreq commented Sep 21, 2017

This problem still exist when using raven in Rails 5 with the uglifier gem. If you run into this, use the minified version in the pipeline.

@kamilogorek
Copy link
Contributor

@mreq it will be fixed with the next release, as it's already fixed in the sources https://github.com/getsentry/raven-js/blob/master/vendor/json-stringify-safe/stringify.js#L14-L15

@kamilogorek kamilogorek reopened this Sep 21, 2017
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 this pull request may close these issues.

None yet

4 participants