Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/assets/aws.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/components/run-anywhere/platforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"icon": "nodejs",
"link": "/guides/hosting/#self-hosting"
},
{
"label": "AWS",
"icon": "aws",
"link": "/guides/hosting/aws/"
},
{
"label": "GitHub",
"icon": "github",
Expand Down
2 changes: 2 additions & 0 deletions src/components/run-anywhere/run-anywhere.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import platforms from "./platforms.json" with { type: "json" };
import awsLogo from "../../assets/aws.svg?type=raw";
import githubLogo from "../../assets/github.svg?type=raw";
import netlifyLogo from "../../assets/netlify.svg?type=raw";
import nodejsLogo from "../../assets/nodejs.svg?type=raw";
import vercelLogo from "../../assets/vercel.svg?type=raw";
import styles from "./run-anywhere.module.css";

const platformImageMapper = {
aws: awsLogo,
github: githubLogo,
netlify: netlifyLogo,
nodejs: nodejsLogo,
Expand Down
7 changes: 4 additions & 3 deletions src/pages/docs/plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tocHeading: 2

- [Lit SSR](/docs/plugins/lit-ssr/) - For Lit users, a custom renderer plugin to support Lit+SSR
- [PostCSS](/docs/plugins/postcss/) - Leverage PostCSS plugins, like [Tailwind](/guides/ecosystem/tailwind/)
- [CSS Modules](/docs/plugins/css-modules/) - Support for [CSS Modules](https://github.com/css-modules/css-modules) ™️ syntax
- [CSS Modules](/docs/plugins/css-modules/) - Support for [CSS Modules](https://github.com/css-modules/css-modules) syntax
- [Raw Loader](/docs/plugins/raw/) - Import arbitrary text files as ESM

## All Plugins
Expand All @@ -24,7 +24,8 @@ Below is the official list of supported first-party plugins available by the Gre
<br>

| Name | Description |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | --- |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| [AWS](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-adapter-aws) | Deploy SSR pages and API routes to serverless functions on [**AWS**](https://aws.amazon.com/). |
| [Babel](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-babel) | Use [**Babel**](https://babeljs.io/) plugins, presets, and configuration in your project. |
| [HTML Include](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-include-html) | Inspired by the original [HTML Imports spec](https://www.html5rocks.com/en/tutorials/webcomponents/imports/). |
| [Import Raw](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-import-raw) | Enables usage of ESM syntax for loading arbitrary file contents as a string. |
Expand All @@ -33,5 +34,5 @@ Below is the official list of supported first-party plugins available by the Gre
| [Netlify](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-adapter-netlify) | Deploy serverless and edge functions to [**Netlify**](https://www.netlify.com/). |
| [Polyfills](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-polyfills) | Web Component related polyfills for older browsers. |
| [PostCSS](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-postcss) | Allows usage of [**PostCSS**](https://postcss.org/) plugins and configuration in your project. |
| [Puppeteer](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-renderer-puppeteer) | A rendering plugin to support prerendering a Greenwood project using Puppeteer. | |
| [Puppeteer](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-renderer-puppeteer) | A rendering plugin to support prerendering a Greenwood project using Puppeteer. |
| [Vercel](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-adapter-vercel) | Deploy serverless and edge functions with [**Vercel**](https://vercel.com/). |
Loading