mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: better cyclic.sh script compatibility
This commit is contained in:
1 parent
4e49d22c4c
commit
3330dce264
13 files changed
+72
-164
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { build } from 'esbuild';
|
||||
|
||||
build({
|
||||
entryPoints: ['src/index.ts'],
|
||||
outfile: 'dist/server.cjs',
|
||||
|
||||
platform: 'node',
|
||||
|
||||
bundle: true,
|
||||
// minifying cases a few random errors; will investigate later
|
||||
// minify: true,
|
||||
sourcemap: true,
|
||||
|
||||
loader: {
|
||||
'.node': 'copy',
|
||||
'.ttf': 'file',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user