Giter VIP home page Giter VIP logo

web-infra-dev / rspack Goto Github PK

View Code? Open in Web Editor NEW
8.3K 56.0 491.0 43.99 MB

The fast Rust-based web bundler with webpack-compatible API 🦀️

Home Page: https://rspack.dev

License: MIT License

Rust 47.90% JavaScript 9.47% HTML 0.25% TypeScript 20.41% CSS 1.46% SCSS 0.13% Less 0.36% EJS 0.01% WebAssembly 0.12% Dockerfile 0.01% CoffeeScript 0.02% Pug 0.01% Vue 0.04% MDX 19.83%
bundler javascript compiler web rust build-tool esm jsx loaders typescript web-performance

rspack's Introduction

Rspack Banner

Rspack

discord channel npm version downloads node version license

English | 简体中文

Rspack is a high performance JavaScript bundler written in Rust. It offers strong compatibility with the webpack ecosystem, allowing for seamless replacement of webpack, and provides lightning fast build speeds.

✨ Features

  • 🚀 Fast Startup: Based on Rust, the build speed is extremely fast, bringing you the ultimate development experience.
  • Lightning HMR: With a built-in incremental compilation mechanism, HMR is extremely fast and fully capable of developing large-scale projects.
  • 📦 Webpack Compatible: Compatible with plugins and loaders in the webpack ecosystem, seamlessly integrating excellent libraries built by the community.
  • 🎨 Module Federation: Provide first-class support for Module Federation to facilitate the development of large-scale web applications.
  • 🛠️ Production Optimization: Various optimization strategies are built in by default, such as tree shaking, minification, etc.
  • 🎯 Framework Agnostic: Not bound to any frontend framework, ensuring enough flexibility.

Read Introduction for details.

Getting Started

See Quick Start.

Contribution

Please read the contributing guide and let's build Rspack together.

Code of Conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.

Community

Come chat with us on Discord! Rspack team and Rspack users are active there, and we're always looking for contributions.

Links

Name Description
Rspack website Official documentation for Rspack
awesome-rspack A curated list of awesome things related to Rspack
rspack-examples Rspack configuration examples
rspack-sources Rust port of webpack-sources
rspack-migration-showcase Migration showcases for Rspack
rspack-compat Rspack compatible loaders and plugins examples
rsfamily-design-resources Design resources for Rspack, Rsbuild, Rspress and Rsdoctor

Contributors

Benchmark

See Benchmark.

Credits

Thanks to:

License

Rspack is MIT licensed.

rspack's People

Contributors

9aoy avatar ahabhgk avatar boshen avatar bvanjoi avatar caohuilin avatar chenjiahan avatar colinaaa avatar cpunisher avatar faga295 avatar fi3ework avatar github-actions[bot] avatar h-a-n-a avatar hardfist avatar herringtondarkholme avatar hyf0 avatar iwanabethatguy avatar jerrykingxyz avatar jserfeng avatar lingyucoder avatar lippzhang avatar liuliudada-w avatar renovate[bot] avatar shulaoda avatar sooniter avatar suxin2017 avatar symind avatar underfin avatar wxiaoyun avatar xc2 avatar zackarychapple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rspack's Issues

Design problem of load hook

For LoadedSource { content: Some("export default {}"), loader: None }, we should resolve default loader for it.

style handle enhance

  1. less.js require cwd need arco pro with same folod node_modules

  2. url assets hook

  3. node_resolver clearfix

Workaround for svgr plugin

I think there is a workaround. We could easily transform a foo.svg file into const Foo: Component = <img src="data:base64......" />

Originally posted by @iheyunfei in #175 (comment)

support runtime chunk

we currently inject runtime code in html by hand, which is not suitable if we want the code run in other environment like node, so we need to move the runtime code into runtimeChunk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.