Skip to content

Commit

Permalink
Nodejsify
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkshiift committed Feb 10, 2024
1 parent a13a0c2 commit 5f54dbd
Show file tree
Hide file tree
Showing 14 changed files with 2,481 additions and 514 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
StegCloak fork optimized specifically for node.js usage.
<h1 align="center">
<br>
<img src="assets/stegCloakIcon.svg" alt="StegCloak" width="100">
Expand Down
19 changes: 19 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const { context } = require('esbuild')

const NodeCommonOpts = {
minify: true,
bundle: true,
sourcemap: false,
logLevel: 'info',
format: 'cjs',
platform: 'node',
target: ['esnext'],
entryPoints: ['stegcloak.js'],
outdir: 'dist'
};

(async () => {
const ctx = await context(NodeCommonOpts)
await ctx.rebuild()
await ctx.dispose()
})()
229 changes: 0 additions & 229 deletions cli.js

This file was deleted.

Loading

0 comments on commit 5f54dbd

Please sign in to comment.