Skip to content
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

fix(gulp): remove es6 arrow functions to minify #449

Merged
merged 1 commit into from
May 30, 2016

Conversation

jniles
Copy link
Collaborator

@jniles jniles commented May 27, 2016

This commit fixes gulp-build with minification by removing the ES6 fat arrow functions from the client. It turns out these break the uglify compiler.

It also turns on minification by default. This can be switched off if it takes too long to run tests.

Closes #447.


Thank you for contributing!

Before submitting this pull request, please verify that you have:

  • Run your code through JSHint. Check out our styleguide.
  • Run integration tests.
  • Run end-to-end tests.
  • Accurately described the changes your are making in this pull request.

For a more detailed checklist, see the official review checklist that this PR will be evaluated against.

Ensuring that the above checkboxes are completed will help speed the review process and help build a stronger application. Thanks!

@jniles jniles added the Bug Fix label May 27, 2016
This commit fixes gulp-build with minification by removing the ES6 fat
arrow functions from the client.  It turns out these break the `uglify`
compiler.

It also turns on minification by default.  This can be switched off if
it takes too long to run tests.

Closes #447.
@jniles
Copy link
Collaborator Author

jniles commented May 30, 2016

Code is up to standards set in the PR standards document. Report any bugs that might have been introduced to this thread and it will be reverted.

@jniles jniles merged commit 4a4df88 into Third-Culture-Software:master May 30, 2016
@jniles jniles deleted the fix-build-minification branch May 30, 2016 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build minification no longer works on master.
1 participant