Ember-cli config

ember-cli-config

Ember pioneered the standardised usage of global cli tool. This is a perfect way to give new users a good onboarding experience as well as existing users power tools for daily usage.

Config for ember-cli lives in ~/.ember-cli and is merged with my-project/.ember-cli file, if applicable.

The format of .ember-cli file is as follows:

Command line options are passed in a dasherized form on the command line but they must be in camel cased in .ember-cli.

So you can run ember help in your terminal and then use the formula above to convert the cli options to config file options.

Example

This is the global ~/.ember-cli I’m using in my setup:

{
  "welcome": false,
  "packageManager": "pnpm",
  "embroider": true,
  "typescript": true
}

Title image generated by Midjourney via prompt: “Command line ninja; The ninja is actually a hamster; –ar 16:9”

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
inspectisโ€™-optical-bga-inspection

INSPECTISโ€™ Optical BGA Inspection

Next Post
why-intent-data-is-the-future-of-b2b-marketing

Why Intent Data is the Future of B2B Marketing

Related Posts