Open brooksdubois opened 6 years ago
@brooksdubois Could you try this again? I've just merged a PR that replaces arrow functions to make it compatible with ES5, maybe that was the problem.
Output:
Brooks:paperfrisbee brooksdubois$ brunch build --production
22:01:42 - error: Optimizing of public/app.js failed. L10774:21 SyntaxError: Unexpected token: operator (>)
at new JS_Parse_Error (
19:58:41 - error: Optimizing of public/app.js failed. L10776:21 SyntaxError: Unexpected token: operator (>)
Everything works normally, just build fails when compiling to production.
I am using coffescript +ejs + jquery. Also, using uglify to minimize for production.
here is my config: { "dependencies": { "ejs-brunch": "^1.0.2", "jquery": "^3.3.1" }, "devDependencies": { "auto-reload-brunch": "^2.7.1", "brunch": "^2", "clean-css-brunch": "^2.10.0", "coffee-script-brunch": "^2.10.2", "stylus-brunch": "^2.10.0", "uglify-js-brunch": "^2.10.0" } }