Skip to content

Commit

Permalink
[unity]stripping level设置成low时,il2cpp优化ESModuleExecuteCJS和ESModuleExec…
Browse files Browse the repository at this point in the history
…uteCJSRelative用例执行失败的问题(IsESM为undefined了)
  • Loading branch information
chexiongsheng committed Dec 18, 2024
1 parent f49d98a commit e5fdb4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unity/test/Src/UnitTestLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public UnitTestLoader2()

}

[UnityEngine.Scripting.Preserve]
public bool IsESM(string filepath)
{
return !filepath.EndsWith(".cjs");
Expand Down

0 comments on commit e5fdb4d

Please sign in to comment.