MCPcopy Create free account
hub / github.com/APKLab/APKLab / main

Function main

esbuild.config.mjs:29–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27};
28
29async function main() {
30 const ctx = await context({
31 entryPoints: ["src/extension.ts"],
32 bundle: true,
33 format: "cjs",
34 minify: production,
35 sourcemap: !production,
36 sourcesContent: false,
37 platform: "node",
38 outfile: "dist/extension.js",
39 external: ["vscode"],
40 logLevel: "silent",
41 alias: {
42 "any-observable": "./src/any-observable-fix.ts",
43 },
44 plugins: [
45 /* add to the end of plugins array */
46 esbuildProblemMatcherPlugin,
47 ],
48 });
49 if (watch) {
50 await ctx.watch();
51 } else {
52 await ctx.rebuild();
53 await ctx.dispose();
54 }
55}
56
57main().catch((e) => {
58 console.error(e);

Callers 1

esbuild.config.mjsFile · 0.70

Calls 1

disposeMethod · 0.80

Tested by

no test coverage detected