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功能中, 将文件加载拆分 #4

Closed
rinh opened this issue Dec 10, 2012 · 0 comments
Closed

在server功能中, 将文件加载拆分 #4

rinh opened this issue Dec 10, 2012 · 0 comments
Labels

Comments

@rinh
Copy link
Owner

rinh commented Dec 10, 2012

目前server功能中, 调用文件是编译并合并之后的

修改为按文件引用顺序 , 单独加载

compiler
增加单文件非依赖编译方式, 即

  • 只处理当前文件内容 , 而不解决依赖问题
  • 依赖方式可以被重写并输出成任意内容

server

  • 在文件调用时, 参数加上no_dependencies=true , 则将文件编译为非依赖模式

基于非依赖编译方式, 所有正常调用的文件均是依赖模式, 重写该文件的依赖方式, 以非依赖模式加载子模块, 实现将文件加载拆分

@rinh rinh closed this as completed in a76c01b Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant