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

Fix hugo serve / jquery.js #1545

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

gjenkins8
Copy link
Contributor

Currently hugo serve locally reports the following error. Unsure as to why, but somehow the vendered jquery is invalid. This PR bumps to the latest v2 jquery (TBD: reference source)

$  hugo serve
...
Error: error building site: MINIFY: failed to transform "js/jquery.js" (text/javascript): unexpected /*!
 * Sizzle CSS Selector Engine v1.10.19
 * http://sizzlejs.com/
 *
 * Copyright 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2014-04-18
 */ in expression on line 14 and column 13202
   14: ...object "+b+"]"]=b.toLowerCase()});var eb=/*!
                                                   ^

@gjenkins8
Copy link
Contributor Author

fixes: #1539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant