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

multi-entry code split solution #3

Open
jaredleechn opened this issue Nov 10, 2016 · 0 comments
Open

multi-entry code split solution #3

jaredleechn opened this issue Nov 10, 2016 · 0 comments

Comments

@jaredleechn
Copy link
Member

目前,当 entry 有多个的时候,用户很难去做国际化资源文件的按需打包,因为 babel 是把所有文件的 id 和 description 都扫描的同一个地方,atool 会把这些全部合并生成为国际化资源文件,但对于某一个特定的 entry 来说,是不需要全集的

暂时的解决方案是 @bubkoo 提出的手动指定扫描目录,然后多个 trans 脚本来生成不同的资源文件 #2

@pigcan @ChrisFan 看看有有没有什么好办法

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