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

Support loading config from package.json #20

Open
samhatoum opened this issue Jul 21, 2018 · 1 comment
Open

Support loading config from package.json #20

samhatoum opened this issue Jul 21, 2018 · 1 comment
Labels
enhancement New feature or request imported

Comments

@samhatoum
Copy link
Contributor

Issue by samhatoum
Tuesday Feb 16, 2016 at 07:47 GMT
Originally opened as xolvio/chimp#280


This is a good idea for frameworks like Meteor

Requested here: meteor/todos#15

Another option to use a config file with Meteor is to put the config file under .config/chimp.js so that Meteor ignores the dot directory, then pass the file to Chimp as the first param, like this:

chimp .config/chimp.json <other options>

@samhatoum samhatoum added enhancement New feature or request imported labels Jul 21, 2018
@samhatoum
Copy link
Contributor Author

Comment by Sanjo
Monday Feb 22, 2016 at 16:03 GMT


There are a lot other ways to prevent Meteor from loading the config file as app file:

  • Put the config file in the imports/ folder (Meteor 1.3)
  • Name the config file, so it starts with a dot (also works with a parent folder with dot)
  • Put the Meteor app in a subdirectory of the repository. E.g. src/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request imported
Projects
None yet
Development

No branches or pull requests

1 participant