Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surge Preview 的问题 #3332

Closed
xrkffgg opened this issue Mar 18, 2021 · 7 comments · Fixed by #3357
Closed

Surge Preview 的问题 #3332

xrkffgg opened this issue Mar 18, 2021 · 7 comments · Fixed by #3357

Comments

@xrkffgg
Copy link
Member

xrkffgg commented Mar 18, 2021

我在尝试修复 preview 的过程中发现,npm run site:build 打出来的 public/ 文件夹有 590 多 MB

而我测试的 Surge 支持 400MB

想问下,

  • 最开始使用 Preview 的时候是否正常?
  • 还是之后 site 才增加到这么大?
  • 还是开了 Surge 的会员没限制?
@hustcc
Copy link
Member

hustcc commented Mar 23, 2021

居然有这么大,意料之外。

@xrkffgg
Copy link
Member Author

xrkffgg commented Mar 23, 2021

json数据有200多😂

@hustcc
Copy link
Member

hustcc commented Mar 23, 2021

json数据有200多😂

也有点夸张,帮我们分析下,优化掉吧,看我首页加微信吧。

@xrkffgg
Copy link
Member Author

xrkffgg commented Mar 31, 2021

https://github.com/xrkffgg/G2/deployments

本地测试换了种方式,用 vercel

https://github.com/xrkffgg/G2/pull/5

@hustcc

@hustcc
Copy link
Member

hustcc commented Mar 31, 2021

什么意思?

@xrkffgg
Copy link
Member Author

xrkffgg commented Apr 1, 2021

不用 surge 了,换了一个方式来预览部署

@hustcc
Copy link
Member

hustcc commented Apr 1, 2021

可以啊,如果效果 ok 都可以啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants