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

384 Build-templates files can not generated due to build procedure changed #17740

Open
tangkaikk opened this issue Oct 18, 2024 · 0 comments
Open
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@tangkaikk
Copy link
Contributor

tangkaikk commented Oct 18, 2024

Cocos Creator version

384

System information

All

Issue description

  1. First time build web-mobile, plugin will generate application.ejs, index.ejs under the folder build-templates, after build completion, nothing under the build-templates folder.
  2. Second time build web-mobile, after build completion, there are appliction.js and index.js under the folder build-templates.

用户第一次建構時 (build-templates 是空的狀態下)
預計用插件來放入 build-templates 的 ejs 文件並沒有被建構到

第二次建構時, 因為第一次的關係
此時 build-templates 殘留著先前的 ejs 文件
這時建構後的 build 目錄才是我們自訂的 js 文件

Relevant error log output

No response

Steps to reproduce

  1. First time build web-mobile, plugin will generate application.ejs, index.ejs under the folder build-templates, after build completion, nothing under the build-templates folder.
  2. Second time build web-mobile, after build completion, there are appliction.js and index.js under the folder build-templates.

Minimal reproduction project

NewProject(4).zip

No response

@tangkaikk tangkaikk added Bug Needs Triage Needs to be assigned by the team labels Oct 18, 2024
@tangkaikk tangkaikk changed the title Build-templates files can not generated due to build procedure changed 384 Build-templates files can not generated due to build procedure changed Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

1 participant