Custom Plugins

Greenwood provides some custom plugins that can be used to enhance your project's default functionality, using the available plugin types provided by Greenwood.

The available plugins built and maintained by Greenwood team and contributors have been provided in the table below, with links to their README with the appropriate installation and usage steps.

BabelAllows usage of Babel plugins, presets, and configuration in your project.
Google AnalyticsEasily add usage tracking to your site with Google Analytics.
Include HTMLProvides additional methods for generating static HTML at build time, inspired by the original HTML Imports spec.
Import CommonJsEnables usage of import syntax for loading CommonJS modules from node_modules.
Import CSSEnables usage of import syntax for loading CSS files.
Import JSONEnables usage of import syntax for loading JSON files.
Import JSXEnables usage of import syntax for loading JSX rendering Web Components compatible with WCC.
PolyfillsAlthough most modern browsers now support the APIs that make up Web Component, for older browsers use this plugin to Let Greenwood automatically take care of progressively loading polyfills for you.
PostCSSAllows usage of PostCSS plugins and configuration in your project.
Renderer LitA server-side rendering plugin for Lit based Greenwood projects.
Renderer PuppeteerA rendering plugin to support prerendering a Greenwood project using Puppeteer.
TypeScriptAllows usage of TypeScript for writing JavaScript.

See something missing? Please review our open issues, we might be working on it! Or if not, please request it, we would be interested to learn how you need to use Greenwood and how the team can help!