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

[PLATFORM-118] Add max_old_space_size flag to build command #51

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

juhah
Copy link
Contributor

@juhah juhah commented Oct 1, 2018

Production build fails in UglifyJSPlugin with option sourceMaps: true, this seems to be an issue with Webpack and large codebase. Here are some discussions around it:

webpack/webpack#6389
webpack-contrib/uglifyjs-webpack-plugin#272

Increasing the heap memory size with max-old-space-size flag seems to be the recommended fix.

Copy link
Contributor

@mikhaelsantos mikhaelsantos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juhah juhah merged commit bc75f8e into development Oct 1, 2018
@juhah juhah deleted the PLATFORM-118-production-build-heap-memory branch October 1, 2018 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants