clenemt / jekyll-webpack

A simple opinionated boilerplate for Jekyll.
19 stars 4 forks source link

UglifyJS error on build #1

Open TheRealAlan opened 6 years ago

TheRealAlan commented 6 years ago

I have a fresh clone of this repo and I've run into a few issues. First, in the readme, I assume you mean to run npm run build instead of npm build, since it's the script you want to run. Second, on build, there is an error given by UglifyJS:

ERROR in main.js?22cf762677db53cc8921 from UglifyJs
Unexpected token: operator (>) [main.js?22cf762677db53cc8921:275,66]

This occurs with no modified files in the repo.

carolinerusso commented 6 years ago

@TheRealAlan you should be able to get passed the Uglify error by running npm run build:debug, or npm run start instead.