We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ad6da commit 7dc01cbCopy full SHA for 7dc01cb
templates/bytedance-mini-game/game.ejs
@@ -79,7 +79,7 @@ function loadCC() {
79
},
80
handlers: {
81
'plugin:': (urlNoSchema) => {
82
- requirePlugin ? requirePlugin(urlNoSchema) : require(urlNoSchema);
+ typeof requirePlugin === 'function' ? requirePlugin(urlNoSchema) : require(urlNoSchema);
83
84
'project:': (urlNoSchema) => {
85
require(urlNoSchema);
0 commit comments