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

Add shouldIncludeStyleguide option #18

Merged
merged 3 commits into from
May 1, 2018

Conversation

jrowlingson
Copy link
Contributor

@jrowlingson jrowlingson commented Apr 19, 2018

#17

Addresses part 1 of 2 (don't app.import('etw.css'))

It was unclear to me how to best approach a test for this particular change so I have opted to omit.

includer.options['ember-cli-tailwind'] &&
includer.options['ember-cli-tailwind']['buildTarget'];
includer.options[this.name] &&
includer.options[this.name]['buildTarget'];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the reference to keep things consistent.

@jrowlingson jrowlingson changed the title WIP: add shouldIncludeStyleguide option (#17) add shouldIncludeStyleguide option Apr 19, 2018
@jrowlingson jrowlingson changed the title add shouldIncludeStyleguide option Add shouldIncludeStyleguide option Apr 19, 2018
@samselikoff
Copy link
Contributor

Awesome!

If you are feeling inclined, you could use Mirage's node tests as a reference for how to test the tree in each environment. (Mirage does something similar where it doesn't ship itself in production, unless explicitly enabled.)

If you don't think you'll have time, just let me know and we can punt on this for now.

Thanks!

@jrowlingson
Copy link
Contributor Author

Thanks for the example! I have added a few tests to cover this option.

@samselikoff
Copy link
Contributor

✨ Amazing ✨

@samselikoff samselikoff merged commit 22c67e9 into embermap:master May 1, 2018
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

Successfully merging this pull request may close these issues.

2 participants