Horndev / zapread.com

Website for zapread.com
https://www.zapread.com
GNU Affero General Public License v3.0
18 stars 4 forks source link

"Minification failed. Returning unminified contents." #540

Closed wfinn closed 4 years ago

wfinn commented 4 years ago

https://www.zapread.com/bundles/post/detail (javascript) starts with this comment:

(41,32268): run-time error JS1004: Expected ';'
(41,32305-32310): run-time error JS1006: Expected ')': fetch
(41,32304): run-time error JS1004: Expected ';'
(41,32559): run-time error JS1004: Expected ';'
...
Horndev commented 4 years ago

It's an artifact of the bundler. It's actually minified by babel now (something I've recently changed), but the ASP bundler is not smart enough to read it. Maybe I can update the ASP bundler to resolve this. It's not actually a problem.

Babel is just smarter than some other minifiers.