Skip to content

Commit 3024d46

Browse files
msurdieidellev
authored andcommitted
chore(ssr): conditionally set autoreload configuration value from template
1 parent 1b93cef commit 3024d46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/inertia.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export const inertia: InertiaConfig = {
1616
view: '{{view}}',
1717
ssr: {
1818
enabled: {{shouldEnableSsr}},
19+
{{#shouldEnableSsr}}
1920
autoreload: process.env.NODE_ENV === 'development',
21+
{{/shouldEnableSsr}}
2022
},
2123
};

0 commit comments

Comments
 (0)