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

支持运行时单独文件 #2

Closed
2 tasks done
harttle opened this issue Oct 28, 2019 · 1 comment
Closed
2 tasks done

支持运行时单独文件 #2

harttle opened this issue Oct 28, 2019 · 1 comment
Labels
enhancement New feature or request released

Comments

@harttle
Copy link
Member

harttle commented Oct 28, 2019

目前组件代码、render函数、运行时工具都在同一个文件中。文件比较大,考虑运行内存和编译后组件文件的可读性,支持运行时部分单独抽离一个文件:

  • 生成运行时文件(PHP 需指定命名空间前缀)
  • 生成不带运行时的组件(需要指定去哪里 require 运行时)
@harttle harttle added the enhancement New feature or request label Nov 5, 2019
@harttle harttle closed this as completed in 859966b Nov 7, 2019
harttle pushed a commit that referenced this issue Nov 7, 2019
# [1.2.0](v1.1.2...v1.2.0) (2019-11-07)

### Features

* emit runtime/components/renderer only when targeted to php, close [#2](#2) ([859966b](859966b))
@harttle
Copy link
Member Author

harttle commented Nov 7, 2019

🎉 This issue has been resolved in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

1 participant