Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0dbdd6

Browse files
committed
chore: remove build vite legacy mode
1 parente5e3d7d commitf0dbdd6

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

‎packages/cli/src/cli.ts‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ yargs
170170
viteMode:{
171171
desc:'same like vite build --mode'
172172
},
173-
legacy:{
174-
desc:'Close default rollup manulChunks setting in vite mode'
175-
},
176173
html:{
177174
desc:'Build application as a single html'
178175
},
@@ -194,12 +191,6 @@ yargs
194191
...cliDesc
195192
}),
196193
async(argv:Argv)=>{
197-
const{ logWarning}=awaitimport('ssr-common-utils')
198-
if(argv.tool==='vite'){
199-
logWarning(`ssr build by vite is beta now, if you find some bugs, please submit an issue on https://github.com/zhangyuang/ssr/issues or you can use ssr build --tools vite --legacy which will close manualChunks
200-
to get a stable bundle result but maybe some performance loss
201-
`)
202-
}
203194
if(argv.bc){
204195
process.env.BUNDLECONFIG='1'
205196
}

‎packages/cli/src/preprocess.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ export const handleEnv = async (argv: Argv) => {
4343
if(argv.html){
4444
process.env.SPA='1'
4545
}
46-
if(argv.legacy){
47-
process.env.LEGACY_VITE='1'
48-
}
4946
if(argv.nominify){
5047
process.env.NOMINIFY='1'
5148
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp