File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2828 "@rsbuild/plugin-image-compress" : " ^1.1.0" ,
2929 "@rspress/mdx-rs" : " ^0.6.6" ,
3030 "@types/node" : " ^22.13.4" ,
31- "compression-webpack-plugin" : " ^11.1.0" ,
3231 "husky" : " ^9.1.7" ,
3332 "lint-staged" : " ^15.4.3" ,
3433 "prettier" : " ^3.5.1" ,
Original file line number Diff line number Diff line change 11// gzip 插件
2- import CompressionWebpackPlugin from "compression-webpack-plugin" ;
32// import { umami } from "./icon";
43
54const nav = [
@@ -79,16 +78,12 @@ const builderConfig = {
7978 ]
8079 } ,
8180 dev : {
82- progressBar : true
81+ progressBar : true ,
82+ cliShortcuts : false
8383 } ,
8484 server : {
85- strictPort : true
86- } ,
87- tools : {
88- rspack : async ( config , { prependPlugins } ) => {
89- prependPlugins ( new CompressionWebpackPlugin ( ) ) ;
90- return config ;
91- }
85+ strictPort : true ,
86+ open : true
9287 }
9388} ;
9489
You can’t perform that action at this time.
0 commit comments