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

新增config.ssr.js配置文件 #81

Closed
zhangyuang opened this issue Sep 18, 2019 · 0 comments
Closed

新增config.ssr.js配置文件 #81

zhangyuang opened this issue Sep 18, 2019 · 0 comments

Comments

@zhangyuang
Copy link
Owner

目前配置项前后端都用到了config.default.js,这就会导致前端代码中会将config.default.js的内容打包进去,有可能会包含一些隐私配置,或者会将后端代码打进去。建议将ssr的相关通用配置统一放到单独的一个配置文件进行维护

@zhangyuang zhangyuang mentioned this issue Sep 19, 2019
zhangyuang added a commit that referenced this issue Sep 19, 2019
* feat: 更新yk-cli

* docs: update readme

* chore: enhance development experience (#79)

* chore: enhance development experience

* version: update yk-cli 2.3.1

* fix: fix browserslist

* docs/deploy (#80)

* docs: 增加 Node.js 部署文档

* docs: 完善faq.md

* fix: 修复ssr-with-loadable

* feat: 新增配置文件config.ssr 分离前后端配置 close #81
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

No branches or pull requests

1 participant