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

小程序配置支持 entryFileName 指定入口文件 #7187

Open
shinken008 opened this issue Jul 28, 2020 · 1 comment
Open

小程序配置支持 entryFileName 指定入口文件 #7187

shinken008 opened this issue Jul 28, 2020 · 1 comment
Labels
E-easy Helper Wanted - Easy F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@shinken008
Copy link
Collaborator

相关平台

微信小程序

小程序基础库: 2.11.3
使用框架: React

复现步骤

小程序源代码包编译到多个平台,在Taro3.0.5后,打包后的平台依赖app.js作为入口文件。所以希望根据配置类似于h5和rn的entryFileName指定入口文件。

期望结果

小程序支持 entryFileName 的配置。

实际结果

实际上h5支持,小程序不支持 entryFileName 这个配置。

环境信息

Taro CLI 3.0.5 environment info:
    System:
      OS: macOS 10.15.5
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.4.0 - /usr/local/bin/node
      Yarn: 1.22.4 - ~/.yarn/bin/yarn
      npm: 6.14.5 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.5 => 3.0.5 
      @tarojs/mini-runner: 3.0.5 => 3.0.5 
      @tarojs/react: 3.0.5 => 3.0.5 
      @tarojs/runtime: 3.0.5 => 3.0.5 
      @tarojs/taro: ^3.0.5 => 3.0.5 
      @tarojs/webpack-runner: 3.0.5 => 3.0.5 
      babel-preset-taro: 3.0.5 => 3.0.5 
      eslint-config-taro: 3.0.5 => 3.0.5 
      react: ^16.13.1 => 16.13.1 
    npmGlobalPackages:
      typescript: 3.9.5

补充信息

具体代码:

const entryName = ENTRY

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 28, 2020
@yangtoude
Copy link

赞成添加这个特性

@ZakaryCode ZakaryCode added the E-easy Helper Wanted - Easy label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Helper Wanted - Easy F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

3 participants