mirror of
https://github.com/c9fe/22120.git
synced 2024-08-17 06:39:47 +02:00
10 lines
463 B
Bash
Executable File
10 lines
463 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
./node_modules/.bin/esbuild src/app.js --bundle --outfile=dist/diskernet.mjs --format=esm --platform=node --minify --analyze
|
|
./node_modules/.bin/esbuild src/app.js --bundle --outfile=build/out.cjs --platform=node --minify --analyze
|
|
./node_modules/.bin/esbuild src/app.js --bundle --outfile=build/test.cjs --platform=node
|
|
echo "#!/usr/bin/env node" > build/diskernet.cjs
|
|
cat build/out.cjs >> build/diskernet.cjs
|
|
chmod +x build/diskernet.cjs
|
|
|