You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conditional comments around the line which appends the magical //@ sourceURL= have a nasty habit of being stripped when passed through UglifyJS.
I attempted to solve the issue by rolling my own function for determining which comments to keep, but alas, the /*@end@*/ comment is ignored, apparently because there's no code following it in the block. If I add an executable line below the closing comment, it's passed into the preserve comment function for evaluation.
I do realise, that I should probably just change our development build to skip Cajon in the uglification process and just keep it as is, but I strive to having the build as similar as possible to minimise variables between environments.
The text was updated successfully, but these errors were encountered:
No problem, thanks for the reminder, meant to change this earlier. If you get this file via npm, I'm having trouble publishing to npm. I think it worked, but npm seems to have had trouble in general today.
Is there any chance Cajon would switch over to the
//# sourceUrl=
style of notation?The conditional comments around the line which appends the magical
//@ sourceURL=
have a nasty habit of being stripped when passed through UglifyJS.I attempted to solve the issue by rolling my own function for determining which comments to keep, but alas, the
/*@end@*/
comment is ignored, apparently because there's no code following it in the block. If I add an executable line below the closing comment, it's passed into the preserve comment function for evaluation.I do realise, that I should probably just change our development build to skip Cajon in the uglification process and just keep it as is, but I strive to having the build as similar as possible to minimise variables between environments.
The text was updated successfully, but these errors were encountered: