Is your feature request related to a problem?
I was reading the source code and I think is a little difficult to follow for newcomers because it follows an imperative way instead of a declarative approach. The index.js file has 500 lines of code, it could be more manageable if it will be smaller.
Describe the solution you'd like
- Move the code into different functions
- Avoid changing the options object directly
- Move related functions to new files (maybe)
- Move plugins to its own directory (maybe)
It will be necessary making several pull requests to make it more easily to review and discuss the changes.
What do you think?
Is your feature request related to a problem?
I was reading the source code and I think is a little difficult to follow for newcomers because it follows an imperative way instead of a declarative approach. The
index.jsfile has 500 lines of code, it could be more manageable if it will be smaller.Describe the solution you'd like
It will be necessary making several pull requests to make it more easily to review and discuss the changes.
What do you think?