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

Cannot include in ASP.NET Bundle #132

Open
JohnBergman opened this issue Aug 21, 2015 · 2 comments
Open

Cannot include in ASP.NET Bundle #132

JohnBergman opened this issue Aug 21, 2015 · 2 comments

Comments

@JohnBergman
Copy link

When jssor.slider.js is included in an ASP.NET bundle, the minification fails because there is a comment at the top.

The solution is to wrap the comment in the files like this

/*
///
*/

JQuery had the same issue recently, below is the stackoverflow posting that describes the issue and solution (for your reference).

http://stackoverflow.com/questions/14402741/jquery-1-9-0-and-modernizr-cannot-be-minified-with-the-asp-net-web-optimization

@MrChriZ
Copy link

MrChriZ commented Sep 1, 2015

Just ran in to this same issue

@Abel-Liu
Copy link

Me too in .NET MVC
i

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

3 participants