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

build: only include used composable-helpers #2171

Merged
merged 1 commit into from
Apr 29, 2021
Merged

build: only include used composable-helpers #2171

merged 1 commit into from
Apr 29, 2021

Conversation

MrChocolatine
Copy link
Contributor

@MrChocolatine MrChocolatine commented Apr 27, 2021

This PR configures the add-on ember-composable-helpers to only include a specific set of helpers when the project is built.

According to your HBS files, you only use the helper sort-by:
https://github.com/miragejs/ember-cli-mirage/search?l=handlebars

@cah-brian-gantzler
Copy link
Collaborator

Is this really needed? composable helpers is a dev dependency meaning it really only applies to the docs. This change would strip the unused helpers from the docs site, but really has no bearing on any app that includes mirage.

@Turbo87
Copy link
Collaborator

Turbo87 commented Apr 29, 2021

@cah-briangantzler I guess it's not strictly needed, but since it also only affects the docs site, and make the payload a little smaller I'm still going to merge it :)

@Turbo87 Turbo87 merged commit 896c25a into miragejs:master Apr 29, 2021
@MrChocolatine MrChocolatine deleted the patch-1 branch April 29, 2021 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants