Skip to content

使用 vite 开发 vue3 时, 使用 import.meta.env.SSR 判断 ssr 逻辑代码,代码没有进行摇树优化,这是为啥? #10248

Answered by so1ve
J-env asked this question in Help/Questions
Discussion options

You must be logged in to vote

因为他把import.meta.env.SSR赋值给了变量

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@J-env
Comment options

@linzhe141
Comment options

Comment options

You must be logged in to vote
2 replies
@J-env
Comment options

@Shyam-Chen
Comment options

Comment options

You must be logged in to vote
1 reply
@so1ve
Comment options

Answer selected by edison1105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants