Skip to content

Commit

Permalink
Fixes to builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Dec 10, 2024
1 parent 052a54f commit 0c29da0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions build/esbuild/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,15 @@ async function buildAll() {

.map(async (module) => {
const fullPath = require.resolve(module);
return build(fullPath, path.join(extensionFolder, 'dist', 'node_modules', `${module}.js`), {
target: 'desktop',
// These almost never change, easier to re-run copmilation if packges change.
watch: false
});
return build(
fullPath,
path.join(extensionFolder, 'dist', 'node_modules', `${path.join(module, 'index.js')}`),
{
target: 'desktop',
// These almost never change, easier to re-run copmilation if packges change.
watch: false
}
);
})
);
builders.push(
Expand Down

0 comments on commit 0c29da0

Please sign in to comment.