Rsbuild with Express
6 |Start building amazing things with Rsbuild.
7 |├── .github
├── renovate.json5
└── workflows
│ └── ci.yaml
├── .gitignore
├── .husky
└── pre-commit
├── .npmrc
├── .nvmrc
├── .vscode
├── extensions.json
└── settings.json
├── LICENSE
├── README.md
├── biome.json
├── package.json
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── rsbuild
├── emotion
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── express
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.mjs
│ ├── server.mjs
│ └── src
│ │ ├── index.css
│ │ └── index.js
├── fastify
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.mjs
│ ├── server.mjs
│ └── src
│ │ ├── index.css
│ │ └── index.js
├── lit
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ ├── index.html
│ │ ├── index.ts
│ │ └── my-element.ts
│ └── tsconfig.json
├── module-federation-enhanced
│ ├── consumer
│ │ ├── .gitignore
│ │ ├── module-federation.config.ts
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.tsx
│ │ │ ├── bootstrap.tsx
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ └── provider
│ │ ├── .gitignore
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ ├── App.tsx
│ │ ├── Button.tsx
│ │ ├── bootstrap.tsx
│ │ └── index.ts
│ │ └── tsconfig.json
├── module-federation
│ ├── host
│ │ ├── .gitignore
│ │ ├── module-federation.config.ts
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ │ ├── App.js
│ │ │ ├── bootstrap.js
│ │ │ └── index.js
│ │ └── tsconfig.json
│ └── remote
│ │ ├── .gitignore
│ │ ├── module-federation.config.ts
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ ├── App.js
│ │ ├── Button.js
│ │ ├── bootstrap.js
│ │ └── index.js
│ │ └── tsconfig.json
├── preact
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ └── index.tsx
│ └── tsconfig.json
├── query-raw
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── react-compiler-babel
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── react-eslint
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── react-jest
│ ├── .gitignore
│ ├── README.md
│ ├── jest-setup.ts
│ ├── jest.config.ts
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ ├── tests
│ │ ├── App.spec.tsx
│ │ ├── __mocks__
│ │ │ ├── fileMock.js
│ │ │ └── styleMock.js
│ │ └── tsconfig.json
│ └── tsconfig.json
├── react-mdx
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── hello.mdx
│ │ └── index.tsx
│ └── tsconfig.json
├── react-rstest
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── rstest.config.ts
│ ├── rstest.setup.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ ├── tests
│ │ ├── App.spec.tsx
│ │ └── tsconfig.json
│ └── tsconfig.json
├── react-tailwindcss-v4
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── postcss.config.mjs
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── react-tailwindcss
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── postcss.config.mjs
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ ├── tailwind.config.ts
│ └── tsconfig.json
├── react-unocss
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── index.css
│ │ ├── index.tsx
│ │ └── shim.d.ts
│ └── tsconfig.json
├── react
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── shadcn-ui
│ ├── .gitignore
│ ├── README.md
│ ├── app
│ │ └── globals.css
│ ├── components.json
│ ├── package.json
│ ├── postcss.config.js
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── components
│ │ │ └── ui
│ │ │ │ ├── button.tsx
│ │ │ │ ├── card.tsx
│ │ │ │ ├── input.tsx
│ │ │ │ └── label.tsx
│ │ ├── env.d.ts
│ │ ├── index.tsx
│ │ └── lib
│ │ │ └── utils.ts
│ ├── tailwind.config.js
│ └── tsconfig.json
├── solid
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── ssr-express-with-manifest
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── prod-server.mjs
│ ├── rsbuild.config.mjs
│ ├── server.mjs
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.server.tsx
│ │ └── index.tsx
│ ├── template.html
│ └── tsconfig.json
├── ssr-express
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── prod-server.mjs
│ ├── rsbuild.config.mjs
│ ├── server.mjs
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.server.tsx
│ │ └── index.tsx
│ ├── template.html
│ └── tsconfig.json
├── ssr
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.server.tsx
│ │ └── index.tsx
│ ├── template.html
│ └── tsconfig.json
├── styled-components
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ └── index.tsx
│ └── tsconfig.json
├── styled-jsx
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.tsx
│ │ └── styled-jsx.d.ts
│ └── tsconfig.json
├── stylex
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.tsx
│ └── tsconfig.json
├── svelte
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.svelte
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.ts
│ └── tsconfig.json
├── umd
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── env.d.ts
│ │ ├── index.html
│ │ └── index.ts
│ └── tsconfig.json
├── vanilla-extract
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css.ts
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.tsx
│ └── tsconfig.json
├── vue2
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.vue
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.ts
│ └── tsconfig.json
├── vue3-auto-import
│ ├── .gitignore
│ ├── .vscode
│ │ └── extensions.json
│ ├── README.md
│ ├── auto-imports.d.ts
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.vue
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.ts
│ └── tsconfig.json
├── vue3-element-plus
│ ├── .gitignore
│ ├── .vscode
│ │ └── extensions.json
│ ├── README.md
│ ├── auto-imports.d.ts
│ ├── components.d.ts
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.vue
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.ts
│ └── tsconfig.json
├── vue3-eslint
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.vue
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ └── index.ts
│ └── tsconfig.json
├── vue3-vant
│ ├── .gitignore
│ ├── README.md
│ ├── auto-imports.d.ts
│ ├── components.d.ts
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.vue
│ │ ├── env.d.ts
│ │ ├── index.ts
│ │ └── static
│ │ │ └── apple.jpeg
│ └── tsconfig.json
└── vue3
│ ├── .gitignore
│ ├── .vscode
│ └── extensions.json
│ ├── README.md
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ ├── App.vue
│ ├── env.d.ts
│ ├── index.css
│ └── index.ts
│ └── tsconfig.json
├── rsdoctor
├── rsbuild
│ ├── package.json
│ ├── rsbuild.config.ts
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── button.css
│ │ ├── env.d.ts
│ │ ├── index.tsx
│ │ ├── semver.ts
│ │ └── semver7.ts
│ └── tsconfig.json
└── rspack
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ ├── App.css
│ ├── App.tsx
│ ├── button.css
│ ├── env.d.ts
│ ├── index.tsx
│ ├── semver.ts
│ └── semver7.ts
│ └── tsconfig.json
├── rslib
├── iife
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ └── index.ts
│ └── tsconfig.json
├── module-doc
│ ├── .gitignore
│ ├── README.md
│ ├── docs
│ │ ├── en
│ │ │ ├── Button.mdx
│ │ │ ├── _meta.json
│ │ │ └── index.mdx
│ │ └── zh
│ │ │ ├── Button.mdx
│ │ │ ├── _meta.json
│ │ │ └── index.mdx
│ ├── package.json
│ ├── rslib.config.ts
│ ├── rspress.config.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ ├── tsconfig.build.json
│ └── tsconfig.json
├── module-federation
│ ├── README.md
│ ├── mf-host
│ │ ├── @mf-types
│ │ │ ├── index.d.ts
│ │ │ └── rslib
│ │ │ │ ├── apis.d.ts
│ │ │ │ ├── compiled-types
│ │ │ │ └── src
│ │ │ │ │ ├── CounterButton.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── useCounter.d.ts
│ │ │ │ └── index.d.ts
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ │ ├── App.css
│ │ │ ├── App.tsx
│ │ │ ├── bootstrap.tsx
│ │ │ ├── env.d.ts
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├── mf-react-component
│ │ ├── .storybook
│ │ │ └── main.ts
│ │ ├── @mf-types
│ │ │ ├── index.d.ts
│ │ │ └── rslib-module
│ │ │ │ ├── apis.d.ts
│ │ │ │ ├── compiled-types
│ │ │ │ └── src
│ │ │ │ │ ├── CounterButton.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── useCounter.d.ts
│ │ │ │ └── index.d.ts
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── rslib.config.ts
│ │ ├── src
│ │ │ ├── CounterButton.tsx
│ │ │ ├── index.tsx
│ │ │ └── useCounter.tsx
│ │ ├── stories
│ │ │ └── index.stories.tsx
│ │ ├── tsconfig.build.json
│ │ └── tsconfig.json
│ ├── mf-remote
│ │ ├── README.md
│ │ ├── package.json
│ │ ├── rsbuild.config.ts
│ │ ├── src
│ │ │ ├── App.tsx
│ │ │ ├── bootstrap.tsx
│ │ │ ├── env.d.ts
│ │ │ └── index.tsx
│ │ └── tsconfig.json
│ └── package.json
├── node-basic
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── add.ts
│ │ ├── divide.ts
│ │ ├── index.ts
│ │ ├── multiply.ts
│ │ └── subtract.ts
│ └── tsconfig.json
├── node-rstest
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── rstest.config.ts
│ ├── src
│ │ └── index.ts
│ ├── tests
│ │ └── index.test.ts
│ └── tsconfig.json
├── preact
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ └── tsconfig.json
├── react-basic
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ └── tsconfig.json
├── react-css-module
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── components
│ │ │ └── CounterButton
│ │ │ │ ├── index.module.css
│ │ │ │ └── index.tsx
│ │ ├── env.d.ts
│ │ ├── index.tsx
│ │ └── useCounter.tsx
│ └── tsconfig.json
├── react-less
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── assets
│ │ │ └── logo.svg
│ │ ├── env.d.ts
│ │ ├── index.less
│ │ ├── index.tsx
│ │ └── useCounter.tsx
│ └── tsconfig.json
├── react-rstest
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── rstest.config.ts
│ ├── rstest.setup.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ ├── tests
│ │ ├── index.test.tsx
│ │ ├── test.d.ts
│ │ └── tsconfig.json
│ └── tsconfig.json
├── react-sass
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── assets
│ │ │ └── logo.svg
│ │ ├── env.d.ts
│ │ ├── index.scss
│ │ ├── index.tsx
│ │ └── useCounter.tsx
│ └── tsconfig.json
├── react-storybook
│ ├── .gitignore
│ ├── .storybook
│ │ ├── main.ts
│ │ └── preview.ts
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ ├── stories
│ │ └── Button.stories.ts
│ └── tsconfig.json
├── react-tailwindcss-v3
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── postcss.config.mjs
│ ├── rslib.config.ts
│ ├── src
│ │ ├── index.css
│ │ └── index.tsx
│ ├── tailwind.config.ts
│ └── tsconfig.json
├── react-tailwindcss
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── postcss.config.mjs
│ ├── rslib.config.ts
│ ├── src
│ │ ├── index.css
│ │ └── index.tsx
│ └── tsconfig.json
├── solid
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.tsx
│ │ ├── button.css
│ │ └── index.tsx
│ └── tsconfig.json
├── umd
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── assets
│ │ │ └── logo.svg
│ │ ├── components
│ │ │ └── CounterButton
│ │ │ │ ├── index.module.scss
│ │ │ │ └── index.tsx
│ │ ├── env.d.ts
│ │ ├── index.scss
│ │ ├── index.tsx
│ │ └── useCounter.tsx
│ └── tsconfig.json
├── vue-basic
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.vue
│ │ ├── index.ts
│ │ └── style.css
│ └── tsconfig.json
├── vue-rstest
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── rstest.config.ts
│ ├── rstest.setup.ts
│ ├── src
│ │ ├── Button.vue
│ │ ├── index.ts
│ │ └── style.css
│ ├── tests
│ │ ├── index.test.ts
│ │ ├── test.d.ts
│ │ └── tsconfig.json
│ └── tsconfig.json
├── vue-storybook
│ ├── .gitignore
│ ├── .storybook
│ │ ├── main.ts
│ │ └── preview.ts
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ │ ├── Button.vue
│ │ ├── index.ts
│ │ └── style.css
│ ├── stories
│ │ └── Button.stories.js
│ └── tsconfig.json
└── web-worker
│ ├── .gitignore
│ ├── README.md
│ ├── package.json
│ ├── rslib.config.ts
│ ├── src
│ ├── index.ts
│ └── worker.ts
│ └── tsconfig.json
├── rspack
├── basic-ts-config
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.ts
│ ├── src
│ │ ├── answer.js
│ │ └── index.js
│ └── tsconfig.json
├── basic-ts
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.mjs
│ ├── src
│ │ ├── alias-1
│ │ │ └── a.ts
│ │ ├── alias-2
│ │ │ └── b.ts
│ │ └── index.ts
│ └── tsconfig.json
├── basic
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── builtin-swc-loader
│ ├── .gitignore
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── __generated__
│ │ └── Foo.graphql.ts
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── bundle-splitting
│ ├── common.js
│ ├── index.js
│ ├── inline.js
│ ├── manual.js
│ ├── package.json
│ └── rspack.config.mjs
├── case-sensitive-paths-webpack-plugin
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── code-splitting
│ ├── answer.js
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ ├── rspack.config.mjs
│ └── static.js
├── common-libs
│ ├── README.md
│ ├── lib1
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── components
│ │ │ │ └── tab.ts
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ ├── lib2
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── components
│ │ │ │ └── button.ts
│ │ │ └── index.ts
│ │ └── tsconfig.json
│ └── lib3
│ │ ├── package.json
│ │ └── src
│ │ └── index.js
├── cra-ts
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.test.tsx
│ │ ├── App.tsx
│ │ ├── index.css
│ │ ├── index.tsx
│ │ ├── logo.svg
│ │ ├── react-app-env.d.ts
│ │ ├── reportWebVitals.ts
│ │ └── setupTests.ts
├── cra
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── App.test.js
│ │ ├── index.css
│ │ ├── index.jsx
│ │ ├── logo.svg
│ │ ├── reportWebVitals.js
│ │ └── setupTests.js
├── css-chunking-plugin
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── index.js
│ │ ├── page.js
│ │ └── styles
│ │ ├── component.css
│ │ ├── global.css
│ │ └── theme.css
├── css-parser-generator-options
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── global.css
│ │ ├── index.js
│ │ ├── legacy
│ │ └── index.css
│ │ └── style.module.scss
├── dll-reference
│ ├── index.js
│ ├── package.json
│ └── rspack.config.js
├── dll
│ ├── a.ts
│ ├── alpha.ts
│ ├── b.ts
│ ├── beta.ts
│ ├── c.tsx
│ ├── package.json
│ └── rspack.config.js
├── emotion
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.jsx
├── eslint
│ ├── .eslintrc.js
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── rspack.config.loader.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── express
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── api
│ │ └── root.ts
│ │ └── main.ts
├── extract-license
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── generate-package-json-webpack-plugin@2
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── hooks
│ └── after-resolve
│ │ ├── index.html
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ ├── answer.js
│ │ └── index.js
├── html-webpack-plugin
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── http-import
│ ├── .gitignore
│ ├── http-import.lock
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ └── index.js
├── inline-const-enum
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── enums.ts
│ │ └── index.ts
├── inline-const
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── constants.ts
│ │ ├── index.ts
│ │ └── reexports.ts
├── inline-enum
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── enums.ts
│ │ └── index.ts
├── javascript-api
│ ├── package.json
│ ├── src
│ │ └── index.ts
│ └── tsconfig.json
├── lazy-compilation-server
│ ├── dev.js
│ ├── package.json
│ └── src
│ │ ├── index.js
│ │ ├── info.js
│ │ └── show-msg.js
├── library-cjs
│ ├── README.md
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ └── secret.js
├── library-esm
│ ├── README.md
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ └── secret.js
├── library-umd
│ ├── README.md
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ └── secret.js
├── license-webpack-plugin
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.jsx
├── lightingcss-loader
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.css
│ │ ├── answer.js
│ │ ├── index.css
│ │ └── index.js
├── loader-compat
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── a.json
│ │ ├── arco.svg
│ │ ├── b.less
│ │ ├── c.scss
│ │ ├── d.yaml
│ │ ├── e.styl
│ │ ├── f.js
│ │ ├── g.md
│ │ ├── h.png
│ │ ├── index.js
│ │ ├── j.txt
│ │ ├── k.ts
│ │ ├── l.png
│ │ └── logo.svg
├── minify-test
│ ├── a.js
│ ├── a2.js
│ ├── b.js
│ ├── index.js
│ └── rspack.config.js
├── module-federation-interop
│ ├── README.md
│ ├── package.json
│ ├── rspack-mf-v1.5
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ ├── bootstrap.js
│ │ │ ├── index.js
│ │ │ └── runtimePlugins
│ │ │ └── logger.js
│ ├── rspack-mf-v1
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ ├── bootstrap.js
│ │ │ └── index.js
│ └── webpack-mf
│ │ ├── package.json
│ │ ├── src
│ │ ├── Component.js
│ │ ├── bootstrap.js
│ │ └── index.js
│ │ └── webpack.config.js
├── module-federation-v1.5
│ ├── app
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── App.js
│ │ │ ├── bootstrap.js
│ │ │ ├── index.js
│ │ │ └── runtimePlugins
│ │ │ └── logger.js
│ ├── lib1
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ ├── bootstrap.js
│ │ │ └── index.js
│ ├── lib2
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ └── LazyComponent.js
│ └── package.json
├── module-federation-v1
│ ├── app
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── App.js
│ │ │ ├── bootstrap.js
│ │ │ └── index.js
│ ├── lib1
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ ├── bootstrap.js
│ │ │ └── index.js
│ ├── lib2
│ │ ├── package.json
│ │ ├── rspack.config.js
│ │ └── src
│ │ │ ├── Component.js
│ │ │ └── LazyComponent.js
│ └── package.json
├── monaco-editor-js
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── rspack.config.js
├── monaco-editor-ts-react
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── components
│ │ │ └── Editor.tsx
│ │ ├── index.css
│ │ ├── index.html
│ │ └── index.tsx
│ └── tsconfig.json
├── monaco-editor-webpack-plugin
│ ├── index.html
│ ├── index.js
│ ├── package.json
│ └── rspack.config.js
├── multi-entry
│ ├── answer.js
│ ├── index.js
│ ├── package.json
│ ├── rspack.config.js
│ ├── second.js
│ └── static.js
├── nest-alias
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ └── index.ts
│ ├── tsconfig.json
│ └── webpack.config.js
├── nestjs
│ ├── README.md
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── app.controller.ts
│ │ ├── app.module.ts
│ │ ├── app.service.ts
│ │ └── main.ts
├── next-rspack-app-router
│ ├── .gitignore
│ ├── README.md
│ ├── app
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── next.config.js
│ ├── package.json
│ └── tsconfig.json
├── next-rspack-page-router
│ ├── .gitignore
│ ├── README.md
│ ├── next.config.js
│ ├── package.json
│ ├── pages
│ │ ├── _app.tsx
│ │ ├── _document.tsx
│ │ ├── api
│ │ │ └── hello.ts
│ │ └── index.tsx
│ ├── public
│ │ ├── favicon.ico
│ │ ├── file.svg
│ │ ├── globe.svg
│ │ ├── next.svg
│ │ ├── vercel.svg
│ │ └── window.svg
│ ├── styles
│ │ ├── Home.module.css
│ │ └── globals.css
│ └── tsconfig.json
├── node-globals-shim
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ ├── process-shim.js
│ │ └── util.js
├── node-polyfill
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── index.js
│ │ └── logger.js
├── perfsee
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── polyfill
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── postcss-loader
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── index.css
│ │ └── index.js
├── preact-refresh
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── preact
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── proxy
│ ├── index.js
│ ├── package.json
│ └── rspack.config.js
├── react-compiler-babel-ts
│ ├── babel.config.js
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── env.d.ts
│ │ ├── index.css
│ │ ├── index.tsx
│ │ └── logo.svg
│ └── tsconfig.json
├── react-compiler-babel
│ ├── babel.config.js
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── react-refresh-babel-loader
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.tsx
│ │ ├── ArrowFunction.tsx
│ │ ├── ClassDefault.tsx
│ │ ├── ClassNamed.tsx
│ │ ├── FunctionDefault.tsx
│ │ ├── FunctionNamed.tsx
│ │ ├── LazyComponent.tsx
│ │ └── index.tsx
├── react-refresh-esm
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.tsx
│ │ ├── ArrowFunction.tsx
│ │ ├── ClassDefault.tsx
│ │ ├── ClassNamed.tsx
│ │ ├── FunctionDefault.tsx
│ │ ├── FunctionNamed.tsx
│ │ ├── LazyComponent.tsx
│ │ └── index.tsx
├── react-refresh
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.tsx
│ │ ├── ArrowFunction.tsx
│ │ ├── ClassDefault.tsx
│ │ ├── ClassNamed.tsx
│ │ ├── FunctionDefault.tsx
│ │ ├── FunctionNamed.tsx
│ │ ├── LazyComponent.tsx
│ │ └── index.tsx
├── react-ssr-esm
│ ├── client
│ │ ├── client.tsx
│ │ └── components
│ │ │ └── app.tsx
│ ├── dev.js
│ ├── package.json
│ ├── rspack.config.client.js
│ ├── rspack.config.server.js
│ └── server
│ │ ├── server.ts
│ │ └── views
│ │ └── client.ejs
├── react-with-extract-css
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── components
│ │ ├── hello-world.jsx
│ │ └── index.module.less
│ │ ├── index.jsx
│ │ ├── style
│ │ └── themes
│ │ │ ├── default.less
│ │ │ └── index.less
│ │ └── styles.less
├── react-with-less
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── components
│ │ ├── hello-world.jsx
│ │ └── index.less
│ │ ├── index.jsx
│ │ ├── style
│ │ └── themes
│ │ │ ├── default.less
│ │ │ └── index.less
│ │ └── styles.less
├── react-with-sass
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── components
│ │ ├── hello-world.jsx
│ │ └── hello-world.sass
│ │ ├── index.jsx
│ │ ├── reset.css
│ │ └── styles.scss
├── react
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── rspack-manifest-plugin
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ └── index.js
│ └── test.js
├── sentry
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── solid
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.jsx
│ │ ├── App.module.css
│ │ ├── Message.jsx
│ │ ├── assets
│ │ └── favicon.ico
│ │ ├── index.css
│ │ ├── index.jsx
│ │ └── logo.svg
├── source-map-with-vscode-debugging
│ ├── .vscode
│ │ └── launch.json
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── hello-world.jsx
│ │ └── index.jsx
├── stats
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── styled-components
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.tsx
├── svelte
│ ├── .gitignore
│ ├── .postcssrc
│ ├── index.html
│ ├── package.json
│ ├── public
│ │ └── favicon.png
│ ├── rspack.config.js
│ ├── src
│ │ ├── App.svelte
│ │ ├── Nested.svelte
│ │ ├── global.css
│ │ └── main.ts
│ └── tsconfig.json
├── svgr
│ ├── index.html
│ ├── index.jsx
│ ├── logo.svg
│ ├── package.json
│ └── rspack.config.js
├── tailwind-jit
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ └── main.css
│ └── tailwind.config.js
├── tailwind
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── answer.js
│ │ ├── index.js
│ │ └── main.css
│ └── tailwind.config.js
├── terser-webpack-plugin
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── treeshaking-transform-imports
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── a.js
│ │ ├── b.js
│ │ ├── c.js
│ │ ├── index.js
│ │ └── sdk.js
├── ts-checker-rspack-plugin
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ └── index.ts
│ └── tsconfig.json
├── type-reexports-presence
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── index.ts
│ │ ├── reexports.ts
│ │ └── types.ts
├── unplugin-auto-import
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.vue
│ │ ├── HelloWorld.vue
│ │ └── index.js
├── vanilla-extract-css
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── App.css.ts
│ │ ├── App.tsx
│ │ ├── global.css.ts
│ │ ├── index.tsx
│ │ ├── sprinkles.css.ts
│ │ └── vars.css.ts
│ └── tsconfig.json
├── vue
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.vue
│ │ ├── assets
│ │ ├── rspack.svg
│ │ └── vue.svg
│ │ ├── components
│ │ └── HelloWorld.vue
│ │ ├── main.js
│ │ └── style.css
├── vue2-ts
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.vue
│ │ ├── assets
│ │ ├── rspack.svg
│ │ └── vue.svg
│ │ ├── components
│ │ └── HelloWorld.vue
│ │ ├── main.ts
│ │ └── style.css
├── vue2-tsx
│ ├── global.d.ts
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── App.vue
│ │ ├── assets
│ │ │ └── logo.png
│ │ ├── components
│ │ │ ├── SFC_JSX_Counter.vue
│ │ │ ├── SFC_TSX_Counter.vue
│ │ │ └── TSX_Counter.tsx
│ │ ├── main.ts
│ │ └── style.less
│ └── tsconfig.json
├── vue2
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.vue
│ │ ├── assets
│ │ ├── rspack.svg
│ │ └── vue.svg
│ │ ├── components
│ │ └── HelloWorld.vue
│ │ ├── main.js
│ │ └── style.css
├── vue3-jsx
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── assets
│ │ └── vue.svg
│ │ ├── index.css
│ │ └── main.jsx
├── vue3-tsx
│ ├── global.d.ts
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ ├── src
│ │ ├── App.css
│ │ ├── App.tsx
│ │ ├── Button.vue
│ │ ├── assets
│ │ │ └── vue.svg
│ │ ├── index.css
│ │ └── main.tsx
│ └── tsconfig.json
├── vue3-vanilla
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── App.vue
│ │ ├── assets
│ │ ├── rspack.svg
│ │ └── vue.svg
│ │ ├── components
│ │ └── HelloWorld.vue
│ │ ├── main.js
│ │ └── style.css
├── wasm-simple
│ ├── add.wasm
│ ├── example.js
│ ├── factorial.wasm
│ ├── fibonacci.wasm
│ ├── math.js
│ ├── package.json
│ └── rspack.config.js
├── webpack-bundle-analyzer
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── webpack-stats-plugin
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ └── index.js
├── workbox-webpack-plugin
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ │ ├── answer.js
│ │ └── index.js
├── worker-inline
│ ├── index.html
│ ├── package.json
│ ├── rspack.config.mjs
│ └── src
│ │ ├── index.js
│ │ └── worker.js
├── worker
│ ├── chat-module.js
│ ├── chat-worker.js
│ ├── example.js
│ ├── fib-worker.js
│ ├── fibonacci.js
│ ├── index.html
│ ├── package.json
│ └── rspack.config.js
└── worklet
│ ├── index.html
│ ├── loader
│ └── worklet-loader.js
│ ├── package.json
│ ├── rspack.config.js
│ └── src
│ ├── answer.js
│ ├── index.js
│ ├── lib.js
│ └── worklet
│ ├── answer.ts
│ ├── complex.worklet.js
│ └── simple.worklet.js
├── rspress
├── basic
│ ├── .gitignore
│ ├── docs
│ │ ├── _meta.json
│ │ ├── guide
│ │ │ ├── _meta.json
│ │ │ └── index.md
│ │ ├── hello.md
│ │ ├── index.md
│ │ └── public
│ │ │ ├── rspress-dark-logo.png
│ │ │ ├── rspress-icon.png
│ │ │ └── rspress-light-logo.png
│ ├── package.json
│ ├── rspress.config.ts
│ └── tsconfig.json
└── custom-theme
│ ├── .gitignore
│ ├── docs
│ ├── hello.md
│ └── index.md
│ ├── package.json
│ ├── rspress.config.ts
│ ├── theme
│ └── index.tsx
│ └── tsconfig.json
├── taze.config.ts
└── tsconfig.base.json
/.husky/pre-commit:
--------------------------------------------------------------------------------
1 | npx lint-staged
2 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | registry = 'https://registry.npmjs.org/'
2 |
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | 22.20.0
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["biomejs.biome"]
3 | }
4 |
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - "rspack/**"
3 | - "rsbuild/**"
4 | - "rslib/**"
5 | - "rspress/**"
6 | - "rsdoctor/**"
7 | - "!**/dist"
8 |
--------------------------------------------------------------------------------
/rsbuild/emotion/.gitignore:
--------------------------------------------------------------------------------
1 | # Local
2 | .DS_Store
3 | *.local
4 | *.log*
5 |
6 | # Dist
7 | node_modules
8 | dist/
9 |
10 | # IDE
11 | .vscode/*
12 | !.vscode/extensions.json
13 | .idea
14 |
--------------------------------------------------------------------------------
/rsbuild/emotion/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
Start building amazing things with Rsbuild.
7 |Start building amazing things with Rsbuild.
7 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
8 |Start building amazing things with Rsbuild.
10 |4 | I'm a Component exposed from container: Rspack MF v1.5! 5 |
6 |4 | I'm a Component exposed from container: Rspack MF v1! 5 |
6 |4 | I'm a Component exposed from container: Webpack MF! 5 |
6 |Rspack + React + SSR + ESM
; 4 | -------------------------------------------------------------------------------- /rspack/react-ssr-esm/server/views/client.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |