Skip to content

Commit

Permalink
can not require directory on wechat (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
holycanvas committed Dec 11, 2019
1 parent 1951ceb commit 9135f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/wechat/res/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ window.__globalAdapter.init(function () {
// Introduce Cocos Service here
require('./main');
require('./libs/common/remote-downloader');
require('./libs/wrapper/engine');
require('./libs/wrapper/engine/index');

// Adjust devicePixelRatio
cc.view._maxPixelRatio = 4;
Expand Down

0 comments on commit 9135f07

Please sign in to comment.