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.

Plugin modules would be one way to allow people to tweak for their preferred workflow (having just read the Sass issue #78) while keeping config out of the user’s hands. This would also make it easier to port to something else if you ever move away from Webpack.

e.g. here’s the complete Sass plugin for nwb - all it does is provide the config and dependencies required to add a new Webpack loader, with a package.json scan for nwb-* modules in nwb itself.

Is there a particular way of implementing plugins which could be supported in create-react-app?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lackercommented, Jul 24, 2016

I think there’s a decent way to do this without any explicit support in create-react-app at all - just have your “plugin” compile sass to css files, and import your css from your javascript code as demonstrated in the create-react-app project. See https://github.com/facebookincubator/create-react-app/issues/78#issuecomment-234739359 for an example gulp task that does this. I think that seems nice because then your css preprocessing is totally decoupled from the create-react-app environment.

0reactions
mismithcommented, Oct 20, 2016

I agree with you @gaearon, @lacker’s suggestion sounds like a good one. Might have to string something that up myself to test it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugin modules - Atlassian Developer
An Atlassian plugin can implement one or more plugin modules to affect the underlying Atlassian application. You can add modules to a plugin...
Read more >
PlugIn Modules | Documentation Center | ABP.IO
Plug-In Modules. It is possible to load modules as plug-ins. That means you may not reference to a module's assembly in your solution,...
Read more >
Plugins categorized as modules - WordPress.org
Plugin Tag: modules · 120+ Widgets | Best Addons For Elementor – FREE · Module Positions · Live Landing Page Composer – visual...
Read more >
EAR Modules - Apache Maven EAR Plugin
The EAR Plugin supports additional configurations of the following modules: ejbClientModule; ejbModule; jarModule; parModule; rarModule ...
Read more >
Contributed plugin modules for Feeds | Drupal.org
Processors (plugins that process the data for Drupal); Helper modules; Mapping helper modules; Installation of plugins. Fetchers. Plugins for receiving a feed.
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