yarn build works fine, but running
yarn build:production results in the following:
ERROR Failed to compile with 1 errors error scripts/main_29a38c72.js from UglifyJs Unexpected token: name (w) [scripts/main_29a38c72.js:6671,4] error Command failed with exit code 2.
I went through my js and think maybe its from using Swiper (http://idangero.us/swiper/)… but I need to use that module and am trying to figure out how to debug this in a more meaningful way. Anyone have any suggestions? As of now I have to deploy this site with a normal build
I’m wondering if I can build my production assets but maybe just disable Uglify for now… but I don’t know how to do that. Can anyone help with that at least?