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

配置babel预设loose为true时 会报错 #16512

Open
jc840031139 opened this issue Sep 12, 2024 · 1 comment
Open

配置babel预设loose为true时 会报错 #16512

jc840031139 opened this issue Sep 12, 2024 · 1 comment

Comments

@jc840031139
Copy link

相关平台

微信小程序

小程序基础库: 最新
使用框架: Vue 3

复现步骤

只要修改 预设loose 就复现

期望结果

正常编译

实际结果

RangeError: Maximum call stack size exceeded
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)
at TaroElement.set (.._src_dom_element.ts:109)(env: macOS,mp,1.06.2407101; lib: 3.4.6)

环境信息

Taro CLI 3.6.32 environment info:
    System:
      OS: macOS 14.6.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.10.0 - ~/Library/Caches/fnm_multishells/88766_1725972716294/bin/node
      Yarn: 1.22.21 - ~/Library/Caches/fnm_multishells/88766_1725972716294/bin/yarn
      npm: 10.2.3 - ~/Library/Caches/fnm_multishells/88766_1725972716294/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.32 => 3.6.32 
      @tarojs/components: 3.6.32 => 3.6.32 
      @tarojs/helper: 3.6.32 => 3.6.32 
      @tarojs/plugin-framework-vue3: 3.6.32 => 3.6.32 
      @tarojs/plugin-html: ^3.6.32 => 3.6.32 
      @tarojs/plugin-platform-alipay: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-h5: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-jd: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-qq: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-swan: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-tt: 3.6.32 => 3.6.32 
      @tarojs/plugin-platform-weapp: 3.6.32 => 3.6.32 
      @tarojs/runtime: 3.6.32 => 3.6.32 
      @tarojs/shared: 3.6.32 => 3.6.32 
      @tarojs/taro: 3.6.32 => 3.6.32 
      @tarojs/taro-loader: 3.6.32 => 3.6.32 
      @tarojs/webpack5-runner: 3.6.32 => 3.6.32 
      babel-preset-taro: 3.6.32 => 3.6.32 
      eslint-config-taro: 3.6.32 => 3.6.32 
@jc840031139
Copy link
Author

jc840031139 commented Sep 12, 2024

loose 关闭会影响到 自定义装饰器的初始化 功能

This was referenced Sep 14, 2024
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