eleme / morjs

基于小程序 DSL(微信、支付宝)的,可扩展的多端研发框架,支持一键将微信或支付宝小程序转换为微信、支付宝、百度、字节、QQ、快手、淘宝、钉钉等小程序 或 Web 应用。
https://mor.ele.me/
MIT License
1.75k stars 114 forks source link

微信小程序转头条小程序 nextTick 报错 #108

Closed BigFly2333 closed 1 year ago

BigFly2333 commented 1 year ago

微信原生项目转头条小程序,框架报错,业务项目中并没有使用 nextTick api image

difineConfig配置

{
    name: 'toutiao-miniprogram',
    sourceType: 'wechat',
    target: 'bytedance',
    compileType: 'subpackage',
    compileMode: 'bundle',
    outputPath: 'dist/dev/mp-toutiao-pack/familyReserve/',
    alias: {
      '@': ''
    },
    autoClean: true,
    processNodeModules: { include: [Array] },
    webpackChain: [Function: webpackChain],
    conditionalCompile: { context: [Object] }
  }
]
BboyZaki commented 1 year ago

1.0.82 版本已修复