Skip to content

Commit 4647246

Browse files
codercupfeige996
authored andcommitted
Merge pull request #18 from MiniJude/main
解决windows系统对微信小程序自动关闭服务的问题
1 parent bd1a444 commit 4647246

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vite.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ export default ({ command, mode }) => {
134134
drop_debugger: env.VITE_DELETE_CONSOLE === 'true',
135135
},
136136
},
137+
watch: {
138+
exclude: ['node_modules/**', "/__uno.css"] // 解决windows系统对微信小程序自动关闭服务的问题
139+
},
137140
},
138141
})
139142
}

0 commit comments

Comments
 (0)