From 4838df315931bb883f704ec3e1abe2685f296cdf Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 22 Apr 2023 19:52:26 +0800 Subject: 😀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/TurbopackFeatures.tsx | 106 ++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 docs/components/TurbopackFeatures.tsx (limited to 'docs/components/TurbopackFeatures.tsx') diff --git a/docs/components/TurbopackFeatures.tsx b/docs/components/TurbopackFeatures.tsx new file mode 100644 index 0000000..5570a52 --- /dev/null +++ b/docs/components/TurbopackFeatures.tsx @@ -0,0 +1,106 @@ +import { + AdjustmentsIcon, + ArchiveIcon, + DesktopComputerIcon, + DownloadIcon, + ServerIcon, +} from "@heroicons/react/outline"; +import { DetailedFeatureLink } from "./Feature"; +import { CSSIcon, JSIcon, TSIcon } from "./Icons"; + +export const TurbopackFeatures = () => { + return ( +
+ + + Supports TypeScript out of the box, including resolving{" "} + paths and baseUrl. + + ), + name: "TypeScript", + }} + href="/pack/docs/features/typescript" + > + + Supports require, import, dynamic + imports and more. + + ), + name: "Imports", + }} + href="/pack/docs/features/imports" + > + + + Supports Global CSS, CSS Modules, postcss-nested and{" "} + @import. + + ), + name: "CSS", + }} + href="/pack/docs/features/css" + > + + + Supports the /public directory, JSON imports, and + importing assets via ESM. + + ), + name: "Static Assets", + }} + href="/pack/docs/features/static-assets" + > + + Supports environment variables via .env,{" "} + .env.local, and more. + + ), + name: "Environment Variables", + }} + href="/pack/docs/features/environment-variables" + > +
+ ); +}; -- cgit v1.2.3-70-g09d2