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 missing semi-colon when using source maps #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qraynaud
Copy link

When minifying and concatenating files the missing trailing semi-colon can create side effects resulting in bugs.

When minifying and concatenating files the missing trailing semi-colon
can create side effects resulting in bugs.
@henryptung
Copy link

Ping! Running into this issue right now; this commit seems straightforward enough, but concerned that it doesn't look like it's gotten attention for over a year. See browserify/browserify#1351.

Would be happy to chip in to help get this (or another fix) merged.

@henryptung
Copy link

Ping?

@zertosh
Copy link
Member

zertosh commented Oct 7, 2015

The commit is straightforward, but the consequences are not. Last time I looked at this, there were problems with the standalone option.

mohsen1 added a commit to mohsen1/json-to-json-schema that referenced this pull request Oct 29, 2015
@henryptung
Copy link

@zertosh Can you provide a repro or description of the case you ran into? May be able to take a look if I have a place to start from. Thanks!

@zertosh
Copy link
Member

zertosh commented Jan 18, 2016

umd.postlude(...) returns });, so when you use both sourcemaps and standalone, you end up with double ;

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.

3 participants