Skip to content

Commit a9670dd

Browse files
authored
fix: disable SSR
1 parent 854b716 commit a9670dd

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

packages/build-tools/cli.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@ if (program.configFile) {
113113
typeof program.prod === 'undefined' ? config.prod : program.prod;
114114

115115
// automatically set enableSSR to true in prod mode and false in dev mode, unless manually set.
116-
config.enableSSR = config.enableSSR
117-
? config.enableSSR
118-
: typeof options.ssr === 'undefined'
119-
? config.prod
120-
? true
121-
: false
122-
: options.ssr;
116+
config.enableSSR = false;
117+
//config.enableSSR
118+
//? config.enableSSR
119+
//: typeof options.ssr === 'undefined'
120+
//? config.prod
121+
// ? true
122+
// : false
123+
//: options.ssr;
123124

124125
config.i18n =
125126
typeof options.i18n === 'undefined'

0 commit comments

Comments
 (0)