Default `configPath` for addons points to dummy app's config path.
See original GitHub issueAs per #133, we now allow a custom configPath
to be set in an engine’s package.json
. If ember-addon/configPath
is set, then this value will be used instead of the default path of config
.
Unfortunately, ember-addon/configPath
is set by default in new addon projects, and the default value is "tests/dummy/config"
. New engines are now using this the environment settings from the dummy app (tests/dummy/config/environment.js
) instead of config/environment.js
.
@rwjblue any idea how to best untangle this while still allowing, but not requiring, custom config paths?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Configuration Paths <configPaths> - Microsoft Learn
Overview The <configPaths> element lists the locations where a configuration setting is set across the Internet Information Services (IIS) 7 ...
Read more >Developing Addons and Blueprints - Chris Henn
By default, the "ember-addon" hash in the package.json file has the "configPath" property defined to point to the config directory of the test...
Read more >@embroider/util | Yarn - Package Manager
Utilities to help apps and addons with Embroider support. ... @embroider/compat , @embroider/core , @embroider/test-setup , @embroider/webpack 2.0.1 -> 2.0.
Read more >Develop Ember.Components for Sharing as Ember CLI ...
Converting a Micro Library of Components to an Ember CLI Addon ... In tests/dummy there are folders for app , config , and...
Read more >Upgrading React on Rails - ShakaCode
The default value for extract_css is false in config/webpack.yml . ... we no longer need to modify Rails.application.config.assets.paths or append anything ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tend to favor this solution over the others. One thing that’s not clear to me with the other solutions is how would you specify the dummy app’s config path and the engine’s config path in an addon? Since I am assuming you would need both in order to properly test things.
Fixed via https://github.com/dgeb/ember-engines/pull/152