Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
bofeng-song committed Dec 4, 2023
1 parent b24aec2 commit 289579c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native/external-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"type": "github",
"owner": "cocos-creator",
"name": "engine-native-external",
"checkout": "v3.8.2-19"
"checkout": "v3.8.2-20"
}
}
5 changes: 4 additions & 1 deletion templates/taobao-creative-app/app.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ App({
console.info('App onLaunched');

$global.__onCanvasCreated = function () {
require('./<%= polyfillsBundleFile %>');
<% if(polyfillsBundleFile) { %>
// Polyfills bundle.
require('./<%= polyfillsBundleFile %>');
<% } %>
require('./<%= systemJsBundleFile %>');
require('./load-module.js');
const importMap = require('./<%= importMapFile %>').default;
Expand Down

0 comments on commit 289579c

Please sign in to comment.