This video introduces the most important features of Speedy Web Compiler (SWC). SWC is a Rust-based JavaScript and TypeScript compiler/transpiler, minifier and bundler. As it is Rust-based, it is supposed to be more performant than traditional JavaScript build tools like Babel, Rollup, Webpack, Gulp. In the video I show how to use swc to compile a simple web project, I show you how to configure the compiler to enable minification and other options, use the bundler spack/swcpack to bundle modules together and finally make a few remarks about the available plugins.
Contents:
0:00 Introduction
0:45 Creating a Demo Project
1:39 Using the SWC CLI
3:10 Watching
3:38 Minification and Compiler Configuration
4:43 Bundler (spack/swcpack)
6:49 Plugins
7:20 Conclusion
SWC Plugins Repository: https://github.com/swc-project/plugins
Social Media:
Email: [email protected]
Twitter: / nikelaz
LinkedIn: / nikola-lazarov
#swc #js #bundler #compiler #rust