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

服务端 server bundle 打包方案 #168

Open
yongheng2016 opened this issue Mar 14, 2024 · 0 comments
Open

服务端 server bundle 打包方案 #168

yongheng2016 opened this issue Mar 14, 2024 · 0 comments

Comments

@yongheng2016
Copy link
Owner

yongheng2016 commented Mar 14, 2024

服务端 bundle 存在最大的问题就是文件读写和动态导入,因为编译功能无法在编译时获取需要读写 | 导入文件的的信息,因此很难适用于一些约定大于配置的框架(如 egg 和 gulu),但如果是 express 和 koa 这种需要显示的写明依赖的框架,是没有问题的。


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