Enable top level api.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
"@codingame/monaco-jsonrpc": "^0.3.1",
|
"@codingame/monaco-jsonrpc": "^0.3.1",
|
||||||
"@codingame/monaco-languageclient": "^0.17.0",
|
"@codingame/monaco-languageclient": "^0.17.0",
|
||||||
"@monaco-editor/react": "^4.4.5",
|
"@monaco-editor/react": "^4.4.5",
|
||||||
"@muzamilsofi/assemblyscript": "^0.0.8",
|
"@muzamilsofi/assemblyscript": "^0.0.9-alpha.0",
|
||||||
"@octokit/core": "^3.5.1",
|
"@octokit/core": "^3.5.1",
|
||||||
"@radix-ui/colors": "^0.1.7",
|
"@radix-ui/colors": "^0.1.7",
|
||||||
"@radix-ui/react-alert-dialog": "^0.1.1",
|
"@radix-ui/react-alert-dialog": "^0.1.1",
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ export const compileTs = async (file: IFile): Promise<CompilationResult> => {
|
|||||||
"--maximumMemory", "1",
|
"--maximumMemory", "1",
|
||||||
"--noExportMemory",
|
"--noExportMemory",
|
||||||
"--optimize",
|
"--optimize",
|
||||||
|
"--topLevelToHook"
|
||||||
], {
|
], {
|
||||||
readFile: (name, baseDir) => {
|
readFile: (name, baseDir) => {
|
||||||
const file = state.files.find(file => file.name === name)
|
const file = state.files.find(file => file.name === name)
|
||||||
|
|||||||
@@ -216,10 +216,10 @@
|
|||||||
"@monaco-editor/loader" "^1.3.2"
|
"@monaco-editor/loader" "^1.3.2"
|
||||||
prop-types "^15.7.2"
|
prop-types "^15.7.2"
|
||||||
|
|
||||||
"@muzamilsofi/assemblyscript@^0.0.8":
|
"@muzamilsofi/assemblyscript@^0.0.9-alpha.0":
|
||||||
version "0.0.8"
|
version "0.0.9-alpha.0"
|
||||||
resolved "https://registry.yarnpkg.com/@muzamilsofi/assemblyscript/-/assemblyscript-0.0.8.tgz#9a9587d9ca8405831bb161c64bd4742e3f6e6500"
|
resolved "https://registry.yarnpkg.com/@muzamilsofi/assemblyscript/-/assemblyscript-0.0.9-alpha.0.tgz#ae26ece7632a882ecdbfe84acd140c2abb3232cc"
|
||||||
integrity sha512-pXxXLJVRPV4rsH8TvPzxMeH1HF1uCWJGD1eAIOPLBEWPanb2xuKtS2Fwl989QwtmwVmXfHew41SkczzicuXJUA==
|
integrity sha512-IJrZfduWFdc6InBcq5PRcau0iaHqPONUL7HWyrk2igxdXHM0RGYBhT6uRvPfhGut6tRE67E+36ax4jwgn3uCuA==
|
||||||
dependencies:
|
dependencies:
|
||||||
binaryen "110.0.0-nightly.20221019"
|
binaryen "110.0.0-nightly.20221019"
|
||||||
long "^5.2.0"
|
long "^5.2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user