scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
237 stars 101 forks source link

Add webpackNodeFlags setting #264

Closed ngbinh closed 6 years ago

ngbinh commented 6 years ago

Allow users to pass https://nodejs.org/api/cli.html to webpack runs

ngbinh commented 6 years ago

Thanks for the quick reviews. Will address them shortly.

ngbinh commented 6 years ago

update with comments addressed.

ngbinh commented 6 years ago

Sorry, I may not be clear on the use case. We need to increase node.js memory on our scala.js bundle build as weback would choke from time to time on default memory setting.

julienrf commented 6 years ago

Thanks @ngbinh! In the future, please avoid changing the code style, it makes it harder to review your work.