contentful / contentful-resolve-response

Resolve items & includes of a Contentful API response into a proper object graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UglifyJS being thrown during build

moreguppy opened this issue · comments

Hi there, just thought I should flag something I encountered today. I'm not sure if its a problem with my setup or a general problem.

  • Project runs fine in development, with webpack-dev-server
  • Rails/Webpacker project being pushed to Heroku
  • Heroku runs build/compile, is using Uglify to compile JS
  • Uglify can't resolve because of an "unexpected token"
Unexpected token: operator (>) [./node_modules/contentful-resolve-response/index.js:8,0]

👋 #16 should fix it

@Khaledgarbaya nice one! Will it get merged in today?

already merged