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

[build] 文件后缀为 .jsx 转化问题 #13

Closed
swdenglian opened this issue Jul 12, 2019 · 2 comments
Closed

[build] 文件后缀为 .jsx 转化问题 #13

swdenglian opened this issue Jul 12, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@swdenglian
Copy link

swdenglian commented Jul 12, 2019

例如 HelloWorldRN 中将src/a/MyChildComp.js 名称改为 =>src/a/MyChildComp.jsx

程序 alita -i HelloWorldRN -o HelloWorldRN-out 将会转化出

MyChildComp.jsx
MyChildComp.wxmlx
MyChildComp.wxssx
MyChildCompTemplate.wxmlx

所有文件都多了个 x,小程序无法正常识别。

@swdenglian swdenglian changed the title [build] 文件.jsx转化问题 [build] 文件 .jsx 转化问题 Jul 12, 2019
@ykforerlang ykforerlang added the bug Something isn't working label Jul 12, 2019
@ykforerlang
Copy link
Member

@swdenglian 是alita在处理jsx后缀的bug ,暂时可以手动 把 .jsx --> .js

@swdenglian
Copy link
Author

@swdenglian 是alita在处理jsx后缀的bug ,暂时可以手动 把 .jsx --> .js

👌

@ykforerlang ykforerlang changed the title [build] 文件 .jsx 转化问题 [build] 文件后缀为 .jsx 转化问题 Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants