Skip to content

Commit a04aac3

Browse files
committed
Another try
1 parent 5973b12 commit a04aac3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

client/plugos/plug_compile.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ setupMessageListener(functionMapping, manifest, self.postMessage);
9797
const outFile = `${destPath}/${manifest.name}.plug.js`;
9898
await Deno.writeTextFile(inFile, jsFile);
9999

100-
// console.log("JS FILE", inFile);
100+
try {
101+
await Deno.remove("deno.lock");
102+
} catch {
103+
// Ignore
104+
}
101105

102106
const result = await esbuild.build({
103107
entryPoints: [inFile],
@@ -114,7 +118,6 @@ setupMessageListener(functionMapping, manifest, self.postMessage);
114118
denoPlugin({
115119
configPath: options.configPath &&
116120
path.resolve(Deno.cwd(), options.configPath),
117-
// importMapURL: options.importMap,
118121
}),
119122
],
120123
});

0 commit comments

Comments
 (0)