Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed May 13, 2024
1 parent b4f8532 commit 29df78a
Show file tree
Hide file tree
Showing 95 changed files with 11,597 additions and 1 deletion.
14 changes: 14 additions & 0 deletions native_locator/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"ts-async/src/*.js": {
"when": "$(basename).ts"
},
"ts-async/src/*.js.map": true,
}
}
17 changes: 17 additions & 0 deletions native_locator/ts-async/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const esbuild = require('esbuild');

esbuild
.build({
entryPoints: ['src/main.ts'],
bundle: true,
platform: 'node',
target: 'node20', // target version of Node.js
outfile: 'dist/index.js',
external: ['node_modules'],
sourcemap: true,
loader: {
'.ts': 'ts',
},
format: 'cjs', // commonjs format for Node.js
})
.catch(() => process.exit(1));
Loading

0 comments on commit 29df78a

Please sign in to comment.