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

move logic to middleware/transforms #18

Open
jonschlinkert opened this issue Mar 8, 2015 · 1 comment
Open

move logic to middleware/transforms #18

jonschlinkert opened this issue Mar 8, 2015 · 1 comment

Comments

@jonschlinkert
Copy link
Owner

@doowb I started moving some of the init/default config stuff into transforms. I think there is probably a lot of stuff we're doing in template that could be moved into built-in middleware or transforms. initially to promote modularity and simplify some of the logic, but it will also make it easier to find places to either move logic to user land, remove stuff, or find code that can be generalized.

thoughts?

@doowb
Copy link
Collaborator

doowb commented Mar 9, 2015

I agree... I was thinking the same thing. There are a couple of utility functions I was thinking of too that would help create the default configurations. I like using transforms for these things because it'll clean up the main file a lot.

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

No branches or pull requests

2 participants