-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling to production I receive an error #6
Comments
@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 |
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"
}
}
The text was updated successfully, but these errors were encountered: