Skip to content

Commit 2376900

Browse files
authored
fix(create-rspack): polish README and configurations (#11953)
1 parent cf9fee3 commit 2376900

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/create-rspack/template-common/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ npm install
1010

1111
## Get started
1212

13-
Start the dev server, and the app will be available at [http://localhost:8080](http://localhost:8080).
13+
Start the dev server, and the app will be available at <http://localhost:8080>.
1414

1515
```bash
1616
npm run dev
@@ -32,5 +32,5 @@ npm run preview
3232

3333
To learn more about Rspack, check out the following resources:
3434

35-
- [Rspack documentation](https://rspack.dev) - explore Rspack features and APIs.
35+
- [Rspack documentation](https://rspack.rs) - explore Rspack features and APIs.
3636
- [Rspack GitHub repository](https://github.com/web-infra-dev/rspack) - your feedback and contributions are welcome!

packages/create-rspack/template-react-js/rspack.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default defineConfig({
5757
template: "./index.html"
5858
}),
5959
isDev ? new ReactRefreshRspackPlugin() : null
60-
].filter(Boolean),
60+
],
6161
optimization: {
6262
minimizer: [
6363
new rspack.SwcJsMinimizerRspackPlugin(),

packages/create-rspack/template-react-ts/rspack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default defineConfig({
5151
template: "./index.html"
5252
}),
5353
isDev ? new ReactRefreshRspackPlugin() : null
54-
].filter(Boolean),
54+
],
5555
optimization: {
5656
minimizer: [
5757
new rspack.SwcJsMinimizerRspackPlugin(),

0 commit comments

Comments
 (0)