catalog icon indicating copy to clipboard operation
catalog copied to clipboard

catalog build issue: uglifying dependencies?

Open mlenser opened this issue 4 years ago • 0 comments

Hey I have a project using catalog and have just recently encountered an issue where it seems like the dependencies are being uglified when it tries to build.

$ catalog build

  Building Catalog. This may take a while …

✖ Failed to compile.

static/catalog.af9859c5.js from UglifyJs
Unexpected token: punc (() [.../.../node_modules/next/dist/client/router.js:2,0][static/catalog.af9859c5.js:86448,23]

I have no custom babel or anything. Has anyone else experienced this issue? (I couldn't see another issue about it). Any suggestions for how to address it?

Thanks.

mlenser avatar Oct 28 '19 12:10 mlenser