-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
修复百度小程序安装 html 插件时不渲染问题,优化其他问题 #15143
base: 3.x
Are you sure you want to change the base?
Conversation
已rebase |
distProjectConfig = Object.assign({}, origProjectConfig, { miniprogramRoot: './' }) | ||
distProjectConfig = Object.assign({}, origProjectConfig) | ||
if (distProjectConfig.miniprogramRoot) { | ||
distProjectConfig.miniprogramRoot = './' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是很理解在这里许改 config 的意义,generateProjectConfig 做的事情好像就是把你原本的 config 放到 dist 目录下而已,直接在原文件加上这个字段的话 是不是也有一样的效果呢?
packages/taro-swan/src/template.ts
Outdated
@@ -57,9 +57,6 @@ export class Template extends RecursiveTemplate { | |||
|
|||
this.legacyMiniComponents = { ...result } | |||
|
|||
delete result['pure-view'] | |||
delete result['static-view'] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这么改好像会导致出现之前的一个问题 :#6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…sx 两个包的开发 (NervJS#15539) * fix(solid): 删除h函数 * feat: add babel-plugin-transform-solid-jsx-ad-taro-components * feat: 完成babel的solid插件,在小程序端准确编译taroComponent * chore(babel-solid): 入口文件修改为适配babel的入口 * feat(babel-solid): 解耦getTagName * fix(solid-babel): 修复solid中对于@tarojs/components的无引用import,收集不到小程序组件bug * feat(babel-solid): 修改项目的readme及license * feat(babel-solid): 插件添加h5判断,h5不进行组件转换 * chore: 修改打包文件路径 * feat(babel-solid): 添加测试用例 * chore: eslint ignore babel solid * chore: 同步收集小程序组件到其他runner中 * chore * feat: add stencil-solid-output-target * chore * feat: 自定义solid-stencil-output * feat: 初步完成stencil的solid打包 * fix(h5-solid): 顺利编译taro的component,但响应式丢失 * chore: 调整stencil-solid的createComponent * fix(h5-solid): 修复web-component的solid连接器编译错乱 * fix(h5-solid): 完善stencil-solid的连接器,解决props响应式丢失 * feat: 优化solid-createComponent代码 * chore * fix: 修复classList失效的bug * feat: 响应式props及element event不通过props绑定,会造成el多余props显示,采用setAttribute及内部events事件绑定 * chore * chore: stencil的component同步solid对dom的api调用 * chore: 修改babel-solid文件命名 * chore: 修改babel-solid相关的工程化配置 * chore: 类型命名修改 * chore: eslintignore采用根目录的 * chore: sort packages * fix: babel-solid的ignore加入,修复eslint暴露的问题 * chore * chore: solid-components打包对于solid-js及tarojs的包使用外部依赖 * chore: 格式化 * refactor: 依赖治理 * refactor: babel-plugin-transform-solid-jsx 测试命令 * fix: 解决合并造成的问题 --------- Co-authored-by: liuzejia <liuzejia@SZMAC-FV0MR4G7.local>
* fix(solid): 删除h函数 * feat: add babel-plugin-transform-solid-jsx-ad-taro-components * feat: 完成babel的solid插件,在小程序端准确编译taroComponent * chore(babel-solid): 入口文件修改为适配babel的入口 * feat(babel-solid): 解耦getTagName * fix(solid-babel): 修复solid中对于@tarojs/components的无引用import,收集不到小程序组件bug * feat(babel-solid): 修改项目的readme及license * feat(babel-solid): 插件添加h5判断,h5不进行组件转换 * chore: 修改打包文件路径 * feat(babel-solid): 添加测试用例 * chore: eslint ignore babel solid * chore: 同步收集小程序组件到其他runner中 * chore * feat: add stencil-solid-output-target * chore * feat: 自定义solid-stencil-output * feat: 初步完成stencil的solid打包 * fix(h5-solid): 顺利编译taro的component,但响应式丢失 * chore: 调整stencil-solid的createComponent * fix(h5-solid): 修复web-component的solid连接器编译错乱 * fix(h5-solid): 完善stencil-solid的连接器,解决props响应式丢失 * feat: 优化solid-createComponent代码 * chore * fix: 修复classList失效的bug * feat: 响应式props及element event不通过props绑定,会造成el多余props显示,采用setAttribute及内部events事件绑定 * chore * chore: stencil的component同步solid对dom的api调用 * feat: 新增plugin-framework-solid * feat: taro-plugin-react删除solid相关代码 * feat: 校准其他模块与taro-react-plugin关联了solid的指向 * fix: 修复小程序编译及在h5端,不改变solid的reconciler别名为solid-js/web * fix: 跑通h5流程 * chore: 修改babel-solid文件命名 * chore: 修改babel-solid相关的工程化配置 * chore: 类型命名修改 * chore: 类型命名修改 * chore: eslintignore采用根目录的 * chore: sort packages * fix: babel-solid的ignore加入,修复eslint暴露的问题 * chore * feat: 完成solid在h5的vite编译 * chore: 暂时注释babel * chore: solid-components打包对于solid-js及tarojs的包使用外部依赖 * chore: vite插件顺序改变 * chore: 格式化 * refactor: 修改框架插件目录名称 * refactor: 依赖治理 taro-framework-solid * refactor: 解决合并错误 * refactor: 依赖治理 * refactor: babel-plugin-transform-solid-jsx 测试命令 * fix: 解决合并造成的问题 --------- Co-authored-by: liuzejia <liuzejia@SZMAC-FV0MR4G7.local>
* fix: 修复合并的问题 * chore * Update index.ts --------- Co-authored-by: ZEJIA LIU <53506531+ZEJIA-LIU@users.noreply.github.com>
build swan 百度小程序的时候出现页面渲染只有 page > template 两个节点
根据 build 后的模板文件可知是因为丢了 tmpl_0_2, tmpl_0_7 两个模板造成的
在 swan 插件源码中发现是被主动删掉了,但是没有处理删掉后造成的影响
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
fix #14945