h2non / nar

node.js application archive - create self-contained binary like executable applications that are ready to ship and run
MIT License
428 stars 23 forks source link

how to pass arguments to the embed nodejs executable #104

Closed 404pnf closed 10 years ago

404pnf commented 10 years ago

Thank you for making nar. The embed nodejs option is great, with no performance lost.

I want to pass --harmony to the embed nodejs executable. How to do that?

404pnf commented 10 years ago

Problem Solved. This can be set in package.json

"scripts": { "start": "node --harmony app --env ${ENV}" },

Sorry for ignoring the obvious.