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

How do I separate the configuration from being compiled? #138

Open
kangks opened this issue Jan 6, 2019 · 1 comment
Open

How do I separate the configuration from being compiled? #138

kangks opened this issue Jan 6, 2019 · 1 comment

Comments

@kangks
Copy link

kangks commented Jan 6, 2019

How do I separate the JS configuration from being compiled as the executable and use different configuration in different environment for testing?

Currently the configuration JS is included in the executable and I have to compile differently for different testing environment.

Thanks!

@kangks
Copy link
Author

kangks commented Jan 6, 2019

Ok it looks like I can pass in the path or filename of the config as runtime argument, as shown in https://speakerdeck.com/pmq20/node-dot-js-compiler-compiling-your-node-dot-js-application-into-a-single-executable?slide=36

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

No branches or pull requests

1 participant