Skip to content

Commit

Permalink
disable dev server client logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tjx666 committed Feb 6, 2024
1 parent da821fc commit 60039ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file added public/favicon.ico
Binary file not shown.
5 changes: 2 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React Webpack Boilerplate</title>
<!-- https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests -->
<link rel="icon" href="data:," />
<title>React Rspack Boilerplate</title>
<link rel="icon" href="/favicon.ico" />
</head>
<body>
<div id="app"></div>
Expand Down
3 changes: 3 additions & 0 deletions scripts/rspack/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const devConfig = defineConfig({
devtool: 'eval-source-map',
devServer: {
port: 3000,
client: {
logging: 'warn',
},
},
experiments: {
// lazyCompilation: true,
Expand Down

0 comments on commit 60039ba

Please sign in to comment.