Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(sdk): the lean WeChat entry is an entry, so it declares its side effects

esenginea2a1438edc19
diff --git a/sdk/package.json b/sdk/package.json
index 7f9edc8a8..9f0d5996a 100644
--- a/sdk/package.json
+++ b/sdk/package.json
@@ -8,6 +8,7 @@
"./dist/index.js",
"./dist/wasm.js",
"./dist/index.wechat.js",
+ "./dist/index.wechat.lean.js",
"./dist/index.minigame.js",
"./dist/index.node.js",
"./dist/index.native.js",
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 197ce3cb9..e5cbbf8a5 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -683,5 +683,5 @@ export const NOTED = {
'fix(wechat): an atlas page is one file however many sprites name it':
{ note: 'A mini-game export no longer fails on a project whose sprites are atlased.' },
'fix(wechat): the package installs its platform by calling for it':
- { note: 'A WeChat mini-game boots again — its packages had been shipping without a platform.' },
+ { note: 'A WeChat mini-game boots again.' },
};