Skip to content

Commit

Permalink
Merge pull request #845 from OfficeDev/v-harikrishnan/Add-EsBuild-Mee…
Browse files Browse the repository at this point in the history
…tings-App-Icon-Badging

Add EsBuild to the Meetings-App-Icon-Badging sample
  • Loading branch information
Prithvi-MSFT authored Jun 30, 2023
2 parents 01e1d3f + 1e931d0 commit 859cc9c
Show file tree
Hide file tree
Showing 3 changed files with 496 additions and 89 deletions.
14 changes: 14 additions & 0 deletions samples/meetings-app-icon-badging/nodejs/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['index.js'],
bundle: true,
platform: 'node',
outfile: 'dist/index.js'
})
.then((r) => {
console.log(`Build succeeded.`);
})
.catch((e) => {
console.log("Error building:", e.message);
process.exit(1);
});
Loading

0 comments on commit 859cc9c

Please sign in to comment.