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

Split project into modules #8

Closed
noodlebox opened this issue Nov 12, 2016 · 0 comments
Closed

Split project into modules #8

noodlebox opened this issue Nov 12, 2016 · 0 comments
Milestone

Comments

@noodlebox
Copy link
Owner

As this project grows, improved modularity would make it easier to maintain. There are at least four versions of the core emote parsing implementation duplicated across several projects:

  • KawaiiDiscord (userscript and BetterDiscord plugin)
  • A fork of BetterDiscord with alternative emote parsing
  • KawaiiEmotes plugin implementing the same for stock BetterDiscord

Factoring this and a few other things out into separate modules will eliminate the hassle of porting fixes between them, allow building for the different targets from a single set of source files, and allow for automated testing to avoid dumb regressions. Webpack seems like a nice choice of build system, and could also make bundling external libraries cleaner for BD plugins.

@noodlebox noodlebox added this to the 1.0 milestone Dec 2, 2016
@noodlebox noodlebox modified the milestones: 0.10.0, 1.0 Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant