question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] plugins

See original GitHub issue

Was thinking of some stuff I’d like bankai to do, and then realized it might get too bloaty. Instead having a plugin system might perhaps help. Is it great? Nah. But it’s probably the lesser of a bunch of evils.

I think we could probably learn from browserify’s plugin architecture because it’s super solid. I don’t think transforms make a lot of sense for us here because it could refer to either JS, CSS or HTML which already have specific transforms available (html not so much, but yeah).

I was thinking in package.json people could do something like:

{
  "bankai": {
    "plugin": [
      "server-render/plugin"
    ]
  }
}

Or from the CLI:

$ bankai -p server-render/plugin

plugin examples

todo

  • figure out if this is actually the best way to approach the problem
  • come up with a JS API for the plugins
  • create example implementation for some existing things

cc/ @toddself @kristoferjoseph think this might be of interest for y’all; input would be v welcome!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
toddselfcommented, Mar 30, 2017

to summarize from irc: i’m not sure bankai needs a plugin system. Sometimes bloat on a developer tool is OK since it takes away the paralysis of choice (eg: standard, tap). Install size is partially irrelevant (or you wouldn’t use it, or you can install it globally), and if you aren’t using something that comes with it, you’re not increasing my cognitive load for using the product (again, tap comes with a TON of shit I couldn’t care less about but I don’t really care…)

0reactions
yoshuawuytscommented, Mar 30, 2017

very good point - closing for now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Plugins Tracking – Make WordPress Core
These features have graduated from a feature plugin to being in core. The list is maintained to provide a better overview of the...
Read more >
Features Plugin - WooCommerce
Features by WooThemes is a free plugin for displaying features on your website. You can install it through your WordPress admin dashboard in...
Read more >
Feature plugins · f4exb/sdrangel Wiki - GitHub
Feature plugins · Antenna tools · AMBE devices control · Automatic Frequency Control (AFC) · AIS Feature plugin · APRS Feature Plugin ·...
Read more >
Plugin vs Feature – what's the difference? - Onymos
Onymos Features enable developers to build apps faster, even faster than using old-school plugins.
Read more >
24 Must Have WordPress Plugins for Business Websites in 2022
Looking for the best WordPress plugins to use on your business website? ... It comes with powerful features that simply don't exist in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found