ember-cli / ember-cli/ember-addon-blueprint

Default #src is misconfigured

Open
#143 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The blueprint is confused about the purpose of #src. If you only ever use it in tests, it works, because there it's always supposed to actually mean the (unbuilt) src directory.

But if you mention `#src` in published code, the build incorrectly leaves it alone and points the actual consuming app at src instead of dist.

This is probably the root cause of https://github.com/ember-cli/ember-addon-blueprint/issues/138 too.

`#src` is not a solution to the problem of built and unbuilt being different. I continue to think we should use a custom export condition instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.