Comments (5)
I'm having the same problem. I got:
jekyll 3.4.3 | Error: Unexpected token: punc ()) (line: 152, col: 1, pos: 3508)
I was able to laboriously guess and check which file it came from, but it would be super helpful if you added the filename to the output.
from jekyll-minifier.
Thanks for your reports, I'll look into these errors and try to get them resolved.
from jekyll-minifier.
@malford89 @ellisonch @digitalsparky
I got this error when I used let
vs. var
for my variables. The minified didn't like let
so I changed everything back to var
and it fixed my issue.
from jekyll-minifier.
I'm also receiving this issue, as well as problems with arrow functions and back-quote string interpolation. Seems the minifier doesn't like ES6 syntax.
from jekyll-minifier.
I'm having this issue too... 😭
from jekyll-minifier.
Related Issues (20)
- in feed.xml newlines in pre/code tags are not preserved
- Dependecy Error despite all dependecies HOT 10
- Speeding up the wrapper HOT 1
- Obfuscation Techniques HOT 1
- Respect jekyll.environment to disable minification HOT 2
- Inline Data URI, SVG XML loses whitespace HOT 1
- CSS assets minification can't be disabled HOT 3
- Have bug since last update 0.1.8 HOT 3
- To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true)
- It's not working anymore HOT 15
- Default config error with uglifier_args
- CSS Minifying svg in background-image HOT 9
- Unexpected token: Operator (<) errors with javascript compression HOT 2
- Should work with incremental build and use cache to speed up.
- Problem with calc() minify (bis) HOT 5
- Option to disable and enable minification without env variables HOT 1
- PHP minifier breaks PHP file when single line comments are present
- JSON+LD not getting compressed within HTML
- JavaScript comments break build HOT 2
- <script> is not detected if it has the "type" attribute set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-minifier.