Skip to content

Commit 7b24971

Browse files
authored
extract env json into its own file (#5658)
* extract env json into its own file * .json works
1 parent 606538a commit 7b24971

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

reflex/.templates/jinja/web/vite.config.js.jinja2

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ export default defineConfig((config) => ({
3434
build: {
3535
rollupOptions: {
3636
jsx: {},
37+
output: {
38+
advancedChunks: {
39+
groups: [
40+
{
41+
test: /env.json/,
42+
name: "reflex-env",
43+
},
44+
],
45+
},
46+
},
3747
},
3848
},
3949
server: {

0 commit comments

Comments
 (0)