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
Sounds like a question for jekyll-assets. You shouldn't have to mess with any of the theme's assets (JavaScript or CSS) as they are already minified/uglified/and bundled in the theme.
Sounds like a question for jekyll-assets. You shouldn't have to mess with any of the theme's assets (JavaScript or CSS) as they are already minified/uglified/and bundled in the theme.
I've posted it there, thanks! It looks like no one has responded to an issue there since April :(
Sorry for my ignorance, but as I've not heard back from jekyll-assets in several days, what is the fastest path to get comments working on my blog in the interim if I assume I won't hear from them for months?
Environment
Using minimal-mistakes-jekyll 4.21.0
Publishing website to Vercel from github.
Expected behavior
Expecting JEKYLL_ENV=production bundle exec jekyll serve to work.
Steps to reproduce the behavior
$ JEKYLL_ENV=production bundle exec jekyll serve
...
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
jekyll 3.8.7 | Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
=> const fs = require("fs");
2 const pkg = require("./package.json");
3 const filename = "assets/js/main.min.js";
4 const script = fs.readFileSync(filename);
5 const padStart = str => ("0" + str).slice(-2);
6 const dateObj = new Date();
7 const date =
${dateObj.getFullYear()}-${padStart( 8 dateObj.getMonth() + 1 9 )}-${padStart(dateObj.getDate())}
;It seems to be related to this issue.
Other
Should I add jekyll-assets to the Gemfile and then the following to _config.yml:
assets:
external:
uglifier:
harmony: true
The text was updated successfully, but these errors were encountered: