This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
23 lines (23 loc) · 13.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Docusaurus v2.0.0-beta.3">
<link rel="alternate" type="application/rss+xml" href="/blog/rss.xml" title="swc Blog RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml" title="swc Blog Atom Feed">
<link rel="preconnect" href="https://www.google-analytics.com">
<link rel="preconnect" href="https://www.googletagmanager.com">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-81467907-3"></script>
<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","UA-81467907-3",{})</script>
<link rel="search" type="application/opensearchdescription+xml" title="swc" href="/opensearch.xml"><title data-react-helmet="true">swc</title><meta data-react-helmet="true" property="og:title" content="swc"><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"><meta data-react-helmet="true" property="og:image" content="https://swc.rs/img/swc.png"><meta data-react-helmet="true" name="twitter:image" content="https://swc.rs/img/swc.png"><meta data-react-helmet="true" property="og:url" content="https://swc.rs/"><meta data-react-helmet="true" name="docsearch:language" content="en"><meta data-react-helmet="true" name="docsearch:docusaurus_tag" content="default"><link data-react-helmet="true" rel="shortcut icon" href="/img/favicon.png"><link data-react-helmet="true" rel="canonical" href="https://swc.rs/"><link data-react-helmet="true" rel="alternate" href="https://swc.rs/" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://swc.rs/" hreflang="x-default"><link data-react-helmet="true" rel="preconnect" href="https://BH4D9OD16A-dsn.algolia.net" crossorigin="anonymous"><script data-react-helmet="true">function maybeInsertBanner(){window.__DOCUSAURUS_INSERT_BASEURL_BANNER&&insertBanner()}function insertBanner(){var n=document.getElementById("docusaurus-base-url-issue-banner-container");if(n){n.innerHTML='\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseurl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner)</script><link rel="stylesheet" href="/assets/css/styles.37a7f8fa.css">
<link rel="preload" href="/assets/js/runtime~main.e6adb2f3.js" as="script">
<link rel="preload" href="/assets/js/main.d97baaa2.js" as="script">
</head>
<body>
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div id="docusaurus-base-url-issue-banner-container"></div><div><a href="#" class="skipToContent_OuoZ">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><b class="navbar__title">SWC</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/docs/installation">Docs</a><a href="https://rustdoc.swc.rs/swc/" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>Rustdocs<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><a class="navbar__item navbar__link" href="/blog">Blog</a><a href="https://play.swc.rs/" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>Playground<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><a href="https://opencollective.com/swc" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>Donate<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><a href="https://github.com/swc-project/swc" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><div class="react-toggle displayOnlyInLargeViewport_cxYs react-toggle--disabled"><div class="react-toggle-track" role="button" tabindex="-1"><div class="react-toggle-track-check"><span class="toggle_iYfV">🌜</span></div><div class="react-toggle-track-x"><span class="toggle_iYfV">🌞</span></div><div class="react-toggle-thumb"></div></div><input type="checkbox" class="react-toggle-screenreader-only" aria-label="Switch between dark and light mode"></div><div class="searchBox_NKBi"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div><div class="navbar-sidebar"><div class="navbar-sidebar__brand"><a class="navbar__brand" href="/"><b class="navbar__title">SWC</b></a></div><div class="navbar-sidebar__items"><div class="menu"><ul class="menu__list"><li class="menu__list-item"><a class="menu__link" href="/docs/installation">Docs</a></li><li class="menu__list-item"><a href="https://rustdoc.swc.rs/swc/" target="_blank" rel="noopener noreferrer" class="menu__link"><span>Rustdocs<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a></li><li class="menu__list-item"><a class="menu__link" href="/blog">Blog</a></li><li class="menu__list-item"><a href="https://play.swc.rs/" target="_blank" rel="noopener noreferrer" class="menu__link"><span>Playground<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a></li><li class="menu__list-item"><a href="https://opencollective.com/swc" target="_blank" rel="noopener noreferrer" class="menu__link"><span>Donate<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a></li><li class="menu__list-item"><a href="https://github.com/swc-project/swc" target="_blank" rel="noopener noreferrer" class="menu__link"><span>GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_wgqa"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a></li></ul></div></div></div></nav><div class="main-wrapper"><div><div class="flexRowCenter_SDbx"><div class="inner padding-vert--lg"><h2 class="flexColumnCenter_dXRb"><img src="img/swc.png" width="200" class="padding-bottom--md"><small>Speedy web compiler</small></h2><div class="padding-vert--md flexRowCenter_SDbx"><a href="/docs/installation" class="button button--outline button--primary uppercase_C0Ev">Getting started</a></div><div class="padding-vert--md flexRowCenter_SDbx"><div class="margin-right--sm"><a title="Star" href="https://github.com/swc-project/swc" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star swc-project/swc on GitHub">Star</a></div><a title="Fork" href="https://github.com/swc-project/swc/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork swc-project/swc on GitHub">Fork</a></div></div></div><div class="mainContainer"><div class="container"><div class="row"><div class="col"><h2>Transcompile</h2><div><p>swc is a typescript / javascript compiler. It consumes a javascript or typescript file which uses recently added features like async-await and emits javascript code which can be executed on old browsers. It supports all published typescript versions and all valid ecmascript, including some stage 3 proposals as an input, and supports es3 or higher as an output</p></div></div><div class="col"><h2>Super fast</h2><div><p>It's 20x faster than babel on single thread, and 70x faster on 4 core benchmark</p></div></div><div class="col"><h2>Bundling</h2><div><p>spack is a super-fast javascript bundler with tree shaking</p></div></div></div></div><div class="flexColumnCenter_dXRb"><h2 class="padding-vert--lg">Who is Using This?</h2><div class="flexRowCenter_SDbx"><a href="https://nextjs.org/" class="logo_VS1e"><img src="/img/users/nextjs-logotype-light.svg" alt="Next.js" class="themedImage_TMUO themedImage--light_4Vu1 image_i3r8" title="Next.js"><img src="/img/users/nextjs-logotype-dark.svg" alt="Next.js" class="themedImage_TMUO themedImage--dark_uzRr image_i3r8" title="Next.js"></a><a href="https://parceljs.org/" class="logo_VS1e"><img src="/img/users/parceljs.png" alt="Parcel" class="themedImage_TMUO themedImage--light_4Vu1 image_i3r8" title="Parcel"><img src="/img/users/parceljs.png" alt="Parcel" class="themedImage_TMUO themedImage--dark_uzRr image_i3r8" title="Parcel"></a><a href="https://deno.land" class="logo_VS1e"><img src="/img/users/deno.svg" alt="Deno" class="themedImage_TMUO themedImage--light_4Vu1 image_i3r8" title="Deno"><img src="/img/users/deno.svg" alt="Deno" class="themedImage_TMUO themedImage--dark_uzRr image_i3r8" title="Deno"></a><a href="https://strapi.io/" class="logo_VS1e"><img src="/img/users/strapi.svg" alt="strapi" class="themedImage_TMUO themedImage--light_4Vu1 image_i3r8" title="strapi"><img src="/img/users/strapi-dark.svg" alt="strapi" class="themedImage_TMUO themedImage--dark_uzRr image_i3r8" title="strapi"></a></div><div class="padding-vert--lg flexRowCenter_SDbx"><a href="/users" class="button button--outline button--primary uppercase_C0Ev">More swc Users</a></div></div><div><div class="flexColumnCenter_dXRb"><h2>Gold Sponsors</h2><a href="https://opencollective.com/swc"><object type="image/svg+xml" data="https://opencollective.com/swc/tiers/gold-sponsors.svg?avatarHeight=36&width=320"></object></a><h2>Silver Sponsors</h2><a href="https://opencollective.com/swc"><object type="image/svg+xml" data="https://opencollective.com/swc/tiers/silver-sponsors.svg?avatarHeight=36&width=320"></object></a><h2>Bronze Sponsors</h2><a href="https://opencollective.com/swc"><object type="image/svg+xml" data="https://opencollective.com/swc/tiers/bronze-sponsors.svg?avatarHeight=36&width=320"></object></a><h2>Backers</h2><a href="https://opencollective.com/swc"><object type="image/svg+xml" data="https://opencollective.com/swc/tiers/backer.svg?avatarHeight=36&width=320"></object></a></div><div class="padding-vert--lg flexRowCenter_SDbx"><a href="https://opencollective.com/swc" class="button button--outline button--primary uppercase_C0Ev">Donate</a></div></div><iframe src="https://opencollective.com/embed/swc/donate" style="width:100%;min-height:100vh"></iframe></div></div></div><footer class="footer"><div class="container"><div class="footer__bottom text--center"><div class="margin-bottom--sm"><img src="https://raw.githubusercontent.com/swc-project/logo/master/swc.png" alt="" class="themedImage_TMUO themedImage--light_4Vu1 footer__logo"><img src="https://raw.githubusercontent.com/swc-project/logo/master/swc.png" alt="" class="themedImage_TMUO themedImage--dark_uzRr footer__logo"></div><div class="footer__copyright">Copyright © 2020 The swc project developers</div></div></div></footer></div>
<script src="/assets/js/runtime~main.e6adb2f3.js"></script>
<script src="/assets/js/main.d97baaa2.js"></script>
</body>
</html>